diff options
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 fbd03221..ccf759ef 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", |
@@ -110,6 +125,14 @@ POSSIBILITY OF SUCH DAMAGE. | |||
110 | <button class="btn_view">Code</button> | 125 | <button class="btn_view">Code</button> |
111 | 126 | ||
112 | </section> | 127 | </section> |
128 | |||
129 | <section class="inactive"> | ||
130 | |||
131 | <div class="viewicon viewPreview"></div> | ||
132 | |||
133 | <button data-montage-id="previewButton" class="btn_view preview"></button> | ||
134 | |||
135 | </section> | ||
113 | 136 | ||
114 | <div data-montage-id="disabledCondition" class="panelDisabled"></div> | 137 | <div data-montage-id="disabledCondition" class="panelDisabled"></div> |
115 | 138 | ||