@wavemaker/app-ng-runtime 11.4.0-next.24664 → 11.4.0-next.24669
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/variables/bundles/index.umd.js +4 -4
- app-ng-runtime/variables/bundles/index.umd.js.map +1 -1
- app-ng-runtime/variables/esm2015/manager/action/notification-action.manager.js +5 -6
- app-ng-runtime/variables/fesm2015/index.js +4 -4
- app-ng-runtime/variables/fesm2015/index.js.map +1 -1
app-ng-runtime/package.json
CHANGED
|
@@ -1564,9 +1564,9 @@
|
|
|
1564
1564
|
}
|
|
1565
1565
|
};
|
|
1566
1566
|
NotificationActionManager.prototype.notifyViaDialog = function (variable, options) {
|
|
1567
|
-
var commonPageDialogId = 'Common' + _.capitalize(variable.operation) + 'Dialog',
|
|
1567
|
+
var commonPageDialogId = 'Common' + _.capitalize(variable.operation) + 'Dialog', dialogId = commonPageDialogId;
|
|
1568
1568
|
var closeCallBackFn = function () { return initiateCallback('onOk', variable, options.data); };
|
|
1569
|
-
exports.dialogService.open(dialogId,
|
|
1569
|
+
exports.dialogService.open(dialogId, undefined, {
|
|
1570
1570
|
notification: {
|
|
1571
1571
|
'title': options.title || variable.dataBinding.title,
|
|
1572
1572
|
'text': options.message || variable.dataBinding.text,
|
|
@@ -1575,12 +1575,12 @@
|
|
|
1575
1575
|
'alerttype': options.alerttype || variable.dataBinding.alerttype || 'information',
|
|
1576
1576
|
onOk: function () {
|
|
1577
1577
|
// Close the action dialog after triggering onOk callback event
|
|
1578
|
-
exports.dialogService.close(dialogId,
|
|
1578
|
+
exports.dialogService.close(dialogId, undefined, closeCallBackFn);
|
|
1579
1579
|
},
|
|
1580
1580
|
onCancel: function () {
|
|
1581
1581
|
initiateCallback('onCancel', variable, options.data);
|
|
1582
1582
|
// Close the action dialog after triggering onCancel callback event
|
|
1583
|
-
exports.dialogService.close(dialogId,
|
|
1583
|
+
exports.dialogService.close(dialogId, undefined);
|
|
1584
1584
|
},
|
|
1585
1585
|
onClose: function () {
|
|
1586
1586
|
initiateCallback('onClose', variable, options.data);
|