diff options
author | Valerio Virgillito | 2012-07-18 23:04:37 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-07-18 23:04:37 -0700 |
commit | 84a7674e4f6556b8663f94a5360c29a5a276f2c8 (patch) | |
tree | 7ff698ef0e5fb157e864e4da699fd4a019918b6e /js/components/layout/document-bar.reel/document-bar.html | |
parent | aaf19014186e881078148394c107278b8b3b28f6 (diff) | |
download | ninja-84a7674e4f6556b8663f94a5360c29a5a276f2c8.tar.gz |
Preview button: enabling the entire button to handle a mouse click
- Then entire button area (button and icon) is not click enabled to launch a Chrome Preview instead of only the actual button.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components/layout/document-bar.reel/document-bar.html')
-rwxr-xr-x | js/components/layout/document-bar.reel/document-bar.html | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/js/components/layout/document-bar.reel/document-bar.html b/js/components/layout/document-bar.reel/document-bar.html index ccf759ef..3e3ac936 100755 --- a/js/components/layout/document-bar.reel/document-bar.html +++ b/js/components/layout/document-bar.reel/document-bar.html | |||
@@ -75,13 +75,7 @@ POSSIBILITY OF SUCH DAMAGE. | |||
75 | "element": {"#": "previewButton"}, | 75 | "element": {"#": "previewButton"}, |
76 | "identifier": "preview", | 76 | "identifier": "preview", |
77 | "label": "Preview" | 77 | "label": "Preview" |
78 | }, | 78 | } |
79 | "listeners": [ | ||
80 | { | ||
81 | "type": "action", | ||
82 | "listener": {"@": "owner"} | ||
83 | } | ||
84 | ] | ||
85 | }, | 79 | }, |
86 | 80 | ||
87 | "owner": { | 81 | "owner": { |
@@ -90,7 +84,8 @@ POSSIBILITY OF SUCH DAMAGE. | |||
90 | "element": {"#": "documentBar"}, | 84 | "element": {"#": "documentBar"}, |
91 | "zoomControl": {"@": "hottext1"}, | 85 | "zoomControl": {"@": "hottext1"}, |
92 | "btnDesign": {"#": "buttonDesign"}, | 86 | "btnDesign": {"#": "buttonDesign"}, |
93 | "btnCode": {"#": "buttonCode"} | 87 | "btnCode": {"#": "buttonCode"}, |
88 | "btnPreview": {"#": "buttonPreview"} | ||
94 | } | 89 | } |
95 | } | 90 | } |
96 | } | 91 | } |
@@ -126,7 +121,7 @@ POSSIBILITY OF SUCH DAMAGE. | |||
126 | 121 | ||
127 | </section> | 122 | </section> |
128 | 123 | ||
129 | <section class="inactive"> | 124 | <section data-montage-id="buttonPreview" class="inactive"> |
130 | 125 | ||
131 | <div class="viewicon viewPreview"></div> | 126 | <div class="viewicon viewPreview"></div> |
132 | 127 | ||