Merge pull request #21564 from nextcloud/fix/noid/no-ocdialogs
fix obsolete usage of OCdialogs
This commit is contained in:
commit
30e999384d
|
@ -553,7 +553,7 @@ OCA = OCA || {};
|
||||||
) {
|
) {
|
||||||
toggleFnc(true);
|
toggleFnc(true);
|
||||||
} else {
|
} else {
|
||||||
OCdialogs.confirm(
|
OC.dialogs.confirm(
|
||||||
t('user_ldap', 'Switching the mode will enable automatic LDAP queries. Depending on your LDAP size they may take a while. Do you still want to switch the mode?'),
|
t('user_ldap', 'Switching the mode will enable automatic LDAP queries. Depending on your LDAP size they may take a while. Do you still want to switch the mode?'),
|
||||||
t('user_ldap', 'Mode switch'),
|
t('user_ldap', 'Mode switch'),
|
||||||
toggleFnc
|
toggleFnc
|
||||||
|
|
Loading…
Reference in New Issue