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 | 20 |
1 files changed, 19 insertions, 1 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..3e3ac936 100755 --- a/js/components/layout/document-bar.reel/document-bar.html +++ b/js/components/layout/document-bar.reel/document-bar.html | |||
@@ -68,6 +68,15 @@ 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 | }, | ||
71 | 80 | ||
72 | "owner": { | 81 | "owner": { |
73 | "prototype": "js/components/layout/document-bar.reel", | 82 | "prototype": "js/components/layout/document-bar.reel", |
@@ -75,7 +84,8 @@ POSSIBILITY OF SUCH DAMAGE. | |||
75 | "element": {"#": "documentBar"}, | 84 | "element": {"#": "documentBar"}, |
76 | "zoomControl": {"@": "hottext1"}, | 85 | "zoomControl": {"@": "hottext1"}, |
77 | "btnDesign": {"#": "buttonDesign"}, | 86 | "btnDesign": {"#": "buttonDesign"}, |
78 | "btnCode": {"#": "buttonCode"} | 87 | "btnCode": {"#": "buttonCode"}, |
88 | "btnPreview": {"#": "buttonPreview"} | ||
79 | } | 89 | } |
80 | } | 90 | } |
81 | } | 91 | } |
@@ -110,6 +120,14 @@ POSSIBILITY OF SUCH DAMAGE. | |||
110 | <button class="btn_view">Code</button> | 120 | <button class="btn_view">Code</button> |
111 | 121 | ||
112 | </section> | 122 | </section> |
123 | |||
124 | <section data-montage-id="buttonPreview" class="inactive"> | ||
125 | |||
126 | <div class="viewicon viewPreview"></div> | ||
127 | |||
128 | <button data-montage-id="previewButton" class="btn_view preview"></button> | ||
129 | |||
130 | </section> | ||
113 | 131 | ||
114 | <div data-montage-id="disabledCondition" class="panelDisabled"></div> | 132 | <div data-montage-id="disabledCondition" class="panelDisabled"></div> |
115 | 133 | ||