diff --git a/appinfo/info.xml b/appinfo/info.xml
index 286552904fadca8a67774436e561d9842b702f67..35d005554c6a54fc34086dafb2e4092d74f72844 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -10,14 +10,14 @@
- 2.4.2
+ 3.0.0
agpl
- Akhil Potukuchi
+ Murena SAS
EcloudAccounts
tools
https://gitlab.e.foundation/e/management/issues
-
+
OCA\EcloudAccounts\Settings\Personal
diff --git a/package-lock.json b/package-lock.json
index 1a810bbe1b06ee810d96a84abba31de1fb01832e..a153f1390b0fc2a02585f0e03bccd64aca331624 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "ecloud-accounts",
- "version": "2.4.0",
+ "version": "3.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ecloud-accounts",
- "version": "2.4.0",
+ "version": "3.0.0",
"dependencies": {
"@nextcloud/axios": "^2.1.0",
"@nextcloud/dialogs": "^3.2.0",
diff --git a/package.json b/package.json
index 1ad99fac0a57f7c17abcda92d6aa57a24258c02d..c3b7f0076d372cc0a2fc268169dd56cc9bd38116 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ecloud-accounts",
- "version": "2.4.1",
+ "version": "3.0.0",
"description": "App for ecloud account management.",
"repository": {
"type": "git",
diff --git a/src/delete-account-listeners.js b/src/delete-account-listeners.js
index 42046a3cf41668f1239e146c740078cea0dd61fc..6710f7ffb1a6cb2a0cff32bc1155db3aa49a0c1b 100644
--- a/src/delete-account-listeners.js
+++ b/src/delete-account-listeners.js
@@ -1,18 +1,17 @@
-/* global $ */
-$(document).ready(function() {
+document.addEventListener('DOMContentLoaded', function() {
// Disable initially
- $('#drop_account_confirm').prop('disabled', true)
- $('#deleteaccount').prop('disabled', true)
+ document.getElementById('drop_account_confirm').disabled = true
+ document.getElementById('deleteaccount').disabled = true
const elem = document.getElementById('body-settings')
elem.addEventListener('disable-delete-account', function() {
- $('#deleteaccount').prop('disabled', true)
- $('#drop_account_confirm').prop('disabled', true)
+ document.getElementById('deleteaccount').disabled = true
+ document.getElementById('drop_account_confirm').disabled = true
})
elem.addEventListener('enable-delete-account', function() {
- $('#drop_account_confirm').prop('disabled', false)
- const enableDeleteAccount = $('#drop_account_confirm').is(':checked')
- $('#deleteaccount').prop('disabled', !enableDeleteAccount)
+ document.getElementById('drop_account_confirm').disabled = false
+ const enableDeleteAccount = document.getElementById('drop_account_confirm').checked
+ document.getElementById('deleteaccount').disabled = !enableDeleteAccount
})
})