diff options
Diffstat (limited to 'node_modules/montage/ui/popup/confirm.reel')
-rwxr-xr-x | node_modules/montage/ui/popup/confirm.reel/confirm.css | 2 | ||||
-rwxr-xr-x | node_modules/montage/ui/popup/confirm.reel/confirm.html | 16 | ||||
-rwxr-xr-x | node_modules/montage/ui/popup/confirm.reel/confirm.js | 12 |
3 files changed, 15 insertions, 15 deletions
diff --git a/node_modules/montage/ui/popup/confirm.reel/confirm.css b/node_modules/montage/ui/popup/confirm.reel/confirm.css index 8d326cce..959cf719 100755 --- a/node_modules/montage/ui/popup/confirm.reel/confirm.css +++ b/node_modules/montage/ui/popup/confirm.reel/confirm.css | |||
@@ -3,7 +3,7 @@ | |||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | 3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> |
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | 4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. |
5 | </copyright> */ | 5 | </copyright> */ |
6 | 6 | ||
7 | .montage-confirm-dialog { | 7 | .montage-confirm-dialog { |
8 | min-width: 300px; | 8 | min-width: 300px; |
9 | } | 9 | } |
diff --git a/node_modules/montage/ui/popup/confirm.reel/confirm.html b/node_modules/montage/ui/popup/confirm.reel/confirm.html index 209fdc86..63b521bd 100755 --- a/node_modules/montage/ui/popup/confirm.reel/confirm.html +++ b/node_modules/montage/ui/popup/confirm.reel/confirm.html | |||
@@ -29,7 +29,7 @@ | |||
29 | } | 29 | } |
30 | }, | 30 | }, |
31 | "button1": { | 31 | "button1": { |
32 | "module": "montage/ui/button.reel", | 32 | "module": "montage/ui/bluemoon/button.reel", |
33 | "name": "Button", | 33 | "name": "Button", |
34 | "properties": { | 34 | "properties": { |
35 | "identifier": "Ok", | 35 | "identifier": "Ok", |
@@ -56,7 +56,7 @@ | |||
56 | ] | 56 | ] |
57 | }, | 57 | }, |
58 | "button2": { | 58 | "button2": { |
59 | "module": "montage/ui/button.reel", | 59 | "module": "montage/ui/bluemoon/button.reel", |
60 | "name": "Button", | 60 | "name": "Button", |
61 | "properties": { | 61 | "properties": { |
62 | "identifier": "Cancel", | 62 | "identifier": "Cancel", |
@@ -98,20 +98,20 @@ | |||
98 | </head> | 98 | </head> |
99 | <body> | 99 | <body> |
100 | <div id="confirm-container" class="montage-confirm-dialog"> | 100 | <div id="confirm-container" class="montage-confirm-dialog"> |
101 | 101 | ||
102 | <div class="montage-popup-header"> | 102 | <div class="montage-popup-header"> |
103 | <h3 id="title" class="title">Confirmation</h3> | 103 | <h3 id="title" class="title">Confirmation</h3> |
104 | </div> | 104 | </div> |
105 | 105 | ||
106 | <div class="montage-confirm-content"> | 106 | <div class="montage-confirm-content"> |
107 | <div id="msg" class="msg"></div> | 107 | <div id="msg" class="msg"></div> |
108 | <div id="msg-detail" class="msg-detail"></div> | 108 | <div id="msg-detail" class="msg-detail"></div> |
109 | </div> | 109 | </div> |
110 | 110 | ||
111 | <div class="montage-popup-footer"> | 111 | <div class="montage-popup-footer"> |
112 | <div class="montage-confirm-actions"> | 112 | <div class="montage-confirm-actions"> |
113 | <div class="cancel" id="action-cancel"></div> | 113 | <button class="cancel" id="action-cancel">Cancel</button> |
114 | <div class="submit" id="action-ok"></div> | 114 | <button class="submit" id="action-ok">OK</button> |
115 | </div> | 115 | </div> |
116 | <div class="clearfix"></div> | 116 | <div class="clearfix"></div> |
117 | </div> | 117 | </div> |
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 | ||