Merge pull request #21568 from nextcloud/backport/21564/stable19
[stable19] fix obsolete usage of OCdialogs
This commit is contained in:
commit
58804caf89
|
@ -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