diff options
author | Eric Guzman | 2012-07-20 11:24:19 -0700 |
---|---|---|
committer | Eric Guzman | 2012-07-20 11:24:19 -0700 |
commit | 3cc29231852440508bdeec1964e40ce59f979f99 (patch) | |
tree | 2faaf3d49337437e4a84818fe24dc64a60f8c611 /js/components/layout/document-bar.reel/document-bar.html | |
parent | 8fdf2fc8aefee68aec4c7b5891e0375f704cbf26 (diff) | |
parent | 9053e2037821a5c8405fabb74db9635deacfe8d5 (diff) | |
download | ninja-3cc29231852440508bdeec1964e40ce59f979f99.tar.gz |
Merge branch 'refs/heads/master' into fixes_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 | ||