Migration of alert to ES6 module
This commit is contained in:
+1
-1
@@ -187,7 +187,7 @@ var Dashboard = {
|
||||
}
|
||||
|
||||
require(['alert'], function (alert) {
|
||||
alert({
|
||||
alert.default({
|
||||
title: options.title || Globalize.translate('HeaderAlert'),
|
||||
text: options.message
|
||||
}).then(options.callback || function () {});
|
||||
|
||||
Reference in New Issue
Block a user