aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/popup/notifier.reel/notifier.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/montage/ui/popup/notifier.reel/notifier.js')
-rwxr-xr-xnode_modules/montage/ui/popup/notifier.reel/notifier.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/node_modules/montage/ui/popup/notifier.reel/notifier.js b/node_modules/montage/ui/popup/notifier.reel/notifier.js
index 6346cd19..ac3dcff9 100755
--- a/node_modules/montage/ui/popup/notifier.reel/notifier.js
+++ b/node_modules/montage/ui/popup/notifier.reel/notifier.js
@@ -78,14 +78,12 @@ var Notifier = exports.Notifier = Montage.create(Component, /** @lends module:"m
78 popup = Popup.create(); 78 popup = Popup.create();
79 this.popup = popup; 79 this.popup = popup;
80 popup.type = 'notify'; 80 popup.type = 'notify';
81 popup.boxed = false;
82 this.application._notifyPopup = popup; 81 this.application._notifyPopup = popup;
83 82
84 notifier = Notifier.create(); 83 notifier = Notifier.create();
85 popup.content = notifier; 84 popup.content = notifier;
86 } 85 }
87 notifier = popup.content; 86 notifier = popup.content;
88 //popup.modal = !!modal;
89 notifier.msg = msg; 87 notifier.msg = msg;
90 88
91 if (!position) { 89 if (!position) {
@@ -100,7 +98,7 @@ var Notifier = exports.Notifier = Montage.create(Component, /** @lends module:"m
100 98
101 if(timeout) { 99 if(timeout) {
102 timeout = parseInt(timeout, 10) || 3000; 100 timeout = parseInt(timeout, 10) || 3000;
103 popup.autoDismiss = timeout; 101 popup.autoHide = timeout;
104 } 102 }
105 103
106 popup.show(); 104 popup.show();