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 | 15 |
1 files changed, 15 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 48f1423c..5a4ca2be 100755 --- a/js/components/layout/document-bar.reel/document-bar.html +++ b/js/components/layout/document-bar.reel/document-bar.html | |||
@@ -41,6 +41,20 @@ | |||
41 | "codeView": {"#": "code"}, | 41 | "codeView": {"#": "code"}, |
42 | "zoomControl": {"@": "hottext1"} | 42 | "zoomControl": {"@": "hottext1"} |
43 | } | 43 | } |
44 | }, | ||
45 | "Disable": { | ||
46 | "module": "montage/ui/condition.reel", | ||
47 | "name": "Condition", | ||
48 | "properties": { | ||
49 | "element": {"#": "disabledCondition"} | ||
50 | }, | ||
51 | "bindings": { | ||
52 | "condition": { | ||
53 | "boundObject": {"@": "owner"}, | ||
54 | "boundObjectPropertyPath": "disabled", | ||
55 | "oneway": true | ||
56 | } | ||
57 | } | ||
44 | } | 58 | } |
45 | } | 59 | } |
46 | </script> | 60 | </script> |
@@ -53,6 +67,7 @@ | |||
53 | <input class="zoomHotText label" id="zoomControlHT"/> | 67 | <input class="zoomHotText label" id="zoomControlHT"/> |
54 | <span class="design-view disable" id="design">Design View</span> | 68 | <span class="design-view disable" id="design">Design View</span> |
55 | <span class="code-view disable" id="code">Code View</span> | 69 | <span class="code-view disable" id="code">Code View</span> |
70 | <div id="disabledCondition" class="panelDisabled"></div> | ||
56 | </div> | 71 | </div> |
57 | </body> | 72 | </body> |
58 | </html> \ No newline at end of file | 73 | </html> \ No newline at end of file |