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 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 | ||