diff options
author | Ananya Sen | 2012-02-03 10:22:26 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-03 10:22:26 -0800 |
commit | 7618cabe1945acc6392c48f3b57820f67f7973b0 (patch) | |
tree | a7b406478bb7446d3f59ff359c65da604ffd2467 /js/components/ui/FilePicker | |
parent | c093dd13a84ce6eb3e00a672c38a808093c5d966 (diff) | |
download | ninja-7618cabe1945acc6392c48f3b57820f67f7973b0.tar.gz |
removed using montage button, since it has changed in Montafe 0.6
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/components/ui/FilePicker')
-rwxr-xr-x | js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.html | 30 | ||||
-rw-r--r-- | js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.js | 3 |
2 files changed, 3 insertions, 30 deletions
diff --git a/js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.html b/js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.html index b5da0e6e..bd427f97 100755 --- a/js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.html +++ b/js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.html | |||
@@ -10,36 +10,6 @@ | |||
10 | <link rel="stylesheet" type="text/css" href="pickerNavigator.css"> | 10 | <link rel="stylesheet" type="text/css" href="pickerNavigator.css"> |
11 | <script type="text/montage-serialization"> | 11 | <script type="text/montage-serialization"> |
12 | { | 12 | { |
13 | "okButton": { | ||
14 | "module": "montage/ui/button.reel", | ||
15 | "name": "Button", | ||
16 | "properties": { | ||
17 | "element": {"#": "okButton"}, | ||
18 | "identifier": "okButton" | ||
19 | }, | ||
20 | "listeners": [ | ||
21 | { | ||
22 | "type": "action", | ||
23 | "listener": {"@": "owner"} | ||
24 | } | ||
25 | ] | ||
26 | }, | ||
27 | |||
28 | "cancelButton": { | ||
29 | "module": "montage/ui/button.reel", | ||
30 | "name": "Button", | ||
31 | "properties": { | ||
32 | "element": {"#": "cancelButton"}, | ||
33 | "identifier": "cancelButton" | ||
34 | }, | ||
35 | "listeners": [ | ||
36 | { | ||
37 | "type": "action", | ||
38 | "listener": {"@": "owner"} | ||
39 | } | ||
40 | ] | ||
41 | }, | ||
42 | |||
43 | "owner":{ | 13 | "owner":{ |
44 | "module": "js/components/ui/FilePicker/pickerNavigator.reel", | 14 | "module": "js/components/ui/FilePicker/pickerNavigator.reel", |
45 | "name":"PickerNavigator", | 15 | "name":"PickerNavigator", |
diff --git a/js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.js b/js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.js index 268ec41a..d7a19c14 100644 --- a/js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.js +++ b/js/components/ui/FilePicker/pickerNavigator.reel/pickerNavigator.js | |||
@@ -245,6 +245,9 @@ var PickerNavigator = exports.PickerNavigator = Montage.create(Component, { | |||
245 | this.resultsArea.addEventListener("click", function(evt){that.handleResultsAreaClick(evt);}, false); | 245 | this.resultsArea.addEventListener("click", function(evt){that.handleResultsAreaClick(evt);}, false); |
246 | this.element.addEventListener("click", function(evt){that.handlePickerNavClick(evt);}, false); | 246 | this.element.addEventListener("click", function(evt){that.handlePickerNavClick(evt);}, false); |
247 | 247 | ||
248 | this.okButton.addEventListener("click", function(evt){that.handleOkButtonAction(evt);}, false); | ||
249 | this.cancelButton.addEventListener("click", function(evt){that.handleCancelButtonAction(evt);}, false); | ||
250 | |||
248 | //ready to show picker now | 251 | //ready to show picker now |
249 | this.element.style.visibility = "visible"; | 252 | this.element.style.visibility = "visible"; |
250 | } | 253 | } |