update to new confirm pattern
This commit is contained in:
@@ -64,9 +64,9 @@
|
||||
|
||||
var msg = Globalize.translate('MessageAreYouSureDeleteSubtitles');
|
||||
|
||||
Dashboard.confirm(msg, Globalize.translate('HeaderConfirmDeletion'), function (result) {
|
||||
require(['confirm'], function (confirm) {
|
||||
|
||||
if (result) {
|
||||
confirm(msg, Globalize.translate('HeaderConfirmDeletion')).then(function () {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
@@ -82,8 +82,7 @@
|
||||
|
||||
reload(page, itemId);
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user