aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/popup/confirm.reel/confirm.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-02 18:00:45 -0800
committerJose Antonio Marquez2012-02-02 18:00:45 -0800
commit04d89daed90c35a4393773ca2e2d0ac3a4c15cd4 (patch)
treed0041abc7379ef38b20cce148e5dea6f531b8569 /node_modules/montage/ui/popup/confirm.reel/confirm.js
parent4d8306b638c53899403a4f0328c02bf1ab893e8f (diff)
parentc630ead20487c3948fa36448d3e7d5f7b5cba782 (diff)
downloadninja-04d89daed90c35a4393773ca2e2d0ac3a4c15cd4.tar.gz
Merge branch 'refs/heads/NinjaInternal' into FileIO
Conflicts: .gitignore js/ninja.reel/ninja.js
Diffstat (limited to 'node_modules/montage/ui/popup/confirm.reel/confirm.js')
-rwxr-xr-xnode_modules/montage/ui/popup/confirm.reel/confirm.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/node_modules/montage/ui/popup/confirm.reel/confirm.js b/node_modules/montage/ui/popup/confirm.reel/confirm.js
index 8e1660c5..7e186e29 100755
--- a/node_modules/montage/ui/popup/confirm.reel/confirm.js
+++ b/node_modules/montage/ui/popup/confirm.reel/confirm.js
@@ -34,7 +34,7 @@ var Confirm = exports.Confirm = Montage.create(Component, /** @lends module:"mon
34 msg: { 34 msg: {
35 value: 'Are you sure?' 35 value: 'Are you sure?'
36 }, 36 },
37 37
38 /** 38 /**
39 Text to display on the OK button 39 Text to display on the OK button
40 @type {Property} 40 @type {Property}
@@ -43,7 +43,7 @@ var Confirm = exports.Confirm = Montage.create(Component, /** @lends module:"mon
43 okLabel: { 43 okLabel: {
44 value: 'OK' 44 value: 'OK'
45 }, 45 },
46 46
47 /** 47 /**
48 Text to display on the Cancel button 48 Text to display on the Cancel button
49 @type {Property} 49 @type {Property}
@@ -52,7 +52,7 @@ var Confirm = exports.Confirm = Montage.create(Component, /** @lends module:"mon
52 cancelLabel: { 52 cancelLabel: {
53 value: 'Cancel' 53 value: 'Cancel'
54 }, 54 },
55 55
56/** 56/**
57 Description TODO 57 Description TODO
58 @private 58 @private
@@ -164,9 +164,9 @@ var Confirm = exports.Confirm = Montage.create(Component, /** @lends module:"mon
164 confirm = Confirm.create(); 164 confirm = Confirm.create();
165 popup.content = confirm; 165 popup.content = confirm;
166 } 166 }
167 167
168 confirm = popup.content; 168 confirm = popup.content;
169 169
170 if (typeof(options) === "string") { 170 if (typeof(options) === "string") {
171 confirm.msg = options; 171 confirm.msg = options;
172 confirm.okLabel = "OK"; 172 confirm.okLabel = "OK";
@@ -176,7 +176,7 @@ var Confirm = exports.Confirm = Montage.create(Component, /** @lends module:"mon
176 confirm.okLabel = options.okLabel || "OK"; 176 confirm.okLabel = options.okLabel || "OK";
177 confirm.cancelLabel = options.cancelLabel || "Cancel"; 177 confirm.cancelLabel = options.cancelLabel || "Cancel";
178 } 178 }
179 179
180 confirm.okCallback = okCallback || null; 180 confirm.okCallback = okCallback || null;
181 confirm.cancelCallback = cancelCallback || null; 181 confirm.cancelCallback = cancelCallback || null;
182 182