Merge pull request #21568 from nextcloud/backport/21564/stable19

[stable19] fix obsolete usage of OCdialogs
This commit is contained in:
blizzz 2020-06-24 22:44:26 +02:00 committed by GitHub
commit 58804caf89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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