diff options
Diffstat (limited to 'node_modules/montage/ui/popup/confirm.reel/confirm.js')
-rwxr-xr-x | node_modules/montage/ui/popup/confirm.reel/confirm.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/montage/ui/popup/confirm.reel/confirm.js b/node_modules/montage/ui/popup/confirm.reel/confirm.js index 7e186e29..0fc5fea0 100755 --- a/node_modules/montage/ui/popup/confirm.reel/confirm.js +++ b/node_modules/montage/ui/popup/confirm.reel/confirm.js | |||
@@ -115,7 +115,7 @@ var Confirm = exports.Confirm = Montage.create(Component, /** @lends module:"mon | |||
115 | this.okCallback.call(this, evt); | 115 | this.okCallback.call(this, evt); |
116 | } | 116 | } |
117 | var anEvent = document.createEvent("CustomEvent"); | 117 | var anEvent = document.createEvent("CustomEvent"); |
118 | anEvent.initCustomEvent("montage_confirm_ok", true, true); | 118 | anEvent.initCustomEvent("montage_confirm_ok", true, true, null); |
119 | this.dispatchEvent(anEvent); | 119 | this.dispatchEvent(anEvent); |
120 | 120 | ||
121 | this.popup.hide(); | 121 | this.popup.hide(); |
@@ -132,7 +132,7 @@ var Confirm = exports.Confirm = Montage.create(Component, /** @lends module:"mon | |||
132 | this.cancelCallback.call(this, evt); | 132 | this.cancelCallback.call(this, evt); |
133 | } | 133 | } |
134 | var anEvent = document.createEvent("CustomEvent"); | 134 | var anEvent = document.createEvent("CustomEvent"); |
135 | anEvent.initCustomEvent("montage_confirm_cancel", true, true); | 135 | anEvent.initCustomEvent("montage_confirm_cancel", true, true, null); |
136 | this.dispatchEvent(anEvent); | 136 | this.dispatchEvent(anEvent); |
137 | 137 | ||
138 | this.popup.hide(); | 138 | this.popup.hide(); |