@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/app-ng-runtime",
3
- "version": "11.4.0-next.24664",
3
+ "version": "11.4.0-next.24669",
4
4
  "description": "All modules required for a wavemaker application.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1564,9 +1564,9 @@
1564
1564
  }
1565
1565
  };
1566
1566
  NotificationActionManager.prototype.notifyViaDialog = function (variable, options) {
1567
- var commonPageDialogId = 'Common' + _.capitalize(variable.operation) + 'Dialog', variableOwner = variable.owner, dialogId = (variableOwner === VARIABLE_CONSTANTS.OWNER.APP) ? commonPageDialogId : 'notification' + 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, variable._context, {
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, variable._context, closeCallBackFn);
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, variable._context);
1583
+ exports.dialogService.close(dialogId, undefined);
1584
1584
  },
1585
1585
  onClose: function () {
1586
1586
  initiateCallback('onClose', variable, options.data);