diff options
author | Valerio Virgillito | 2012-07-18 16:24:17 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-07-18 16:24:17 -0700 |
commit | 5ae767d4d47d0ed6846c7928ec219a70c3706639 (patch) | |
tree | 63051c2c69d436799ce2673e8496360496565c06 /js/components/layout/document-bar.reel/document-bar.html | |
parent | c1360b71e30cff1d90d7a3476ff2878821534d39 (diff) | |
parent | 6f2e455a77179f81dfd19037c078c158d3e14ee2 (diff) | |
download | ninja-5ae767d4d47d0ed6846c7928ec219a70c3706639.tar.gz |
Merge branch 'menu-fixes' of https://github.com/mencio/ninja into v0.7.1
Diffstat (limited to 'js/components/layout/document-bar.reel/document-bar.html')
-rwxr-xr-x | js/components/layout/document-bar.reel/document-bar.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/js/components/layout/document-bar.reel/document-bar.html b/js/components/layout/document-bar.reel/document-bar.html index 69f8107f..9e5e4eb2 100755 --- a/js/components/layout/document-bar.reel/document-bar.html +++ b/js/components/layout/document-bar.reel/document-bar.html | |||
@@ -68,6 +68,21 @@ POSSIBILITY OF SUCH DAMAGE. | |||
68 | "condition": {"<-": "@owner.disabled"} | 68 | "condition": {"<-": "@owner.disabled"} |
69 | } | 69 | } |
70 | }, | 70 | }, |
71 | |||
72 | "menuItemButton": { | ||
73 | "prototype": "montage/ui/native/button.reel", | ||
74 | "properties": { | ||
75 | "element": {"#": "previewButton"}, | ||
76 | "identifier": "preview", | ||
77 | "label": "Preview" | ||
78 | }, | ||
79 | "listeners": [ | ||
80 | { | ||
81 | "type": "action", | ||
82 | "listener": {"@": "owner"} | ||
83 | } | ||
84 | ] | ||
85 | }, | ||
71 | 86 | ||
72 | "owner": { | 87 | "owner": { |
73 | "prototype": "js/components/layout/document-bar.reel", | 88 | "prototype": "js/components/layout/document-bar.reel", |
@@ -108,6 +123,14 @@ POSSIBILITY OF SUCH DAMAGE. | |||
108 | <button class="btn_view">Code</button> | 123 | <button class="btn_view">Code</button> |
109 | 124 | ||
110 | </section> | 125 | </section> |
126 | |||
127 | <section class="inactive"> | ||
128 | |||
129 | <div class="viewicon viewPreview"></div> | ||
130 | |||
131 | <button data-montage-id="previewButton" class="btn_view preview"></button> | ||
132 | |||
133 | </section> | ||
111 | 134 | ||
112 | <div data-montage-id="disabledCondition" class="panelDisabled"></div> | 135 | <div data-montage-id="disabledCondition" class="panelDisabled"></div> |
113 | 136 | ||