diff options
author | Nivesh Rajbhandari | 2012-03-13 09:30:58 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-03-13 09:30:58 -0700 |
commit | efb92cf52680d31f05fed3757e74862592cc2d4c (patch) | |
tree | 301c16c9e6b6aa2ff7a70f579e9dbc9e784f9b13 /js/components/layout/document-bar.reel/document-bar.html | |
parent | 90e2f71d730fb4f4ec07b40d2c2569e6c46e8a1c (diff) | |
parent | c24f58c10231c30d3a8a4c9fb9a4f395dd746180 (diff) | |
download | ninja-efb92cf52680d31f05fed3757e74862592cc2d4c.tar.gz |
Merge branch 'refs/heads/ninja-internal' into ToolFixes
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..bd13f231 100755 --- a/js/components/layout/document-bar.reel/document-bar.html +++ b/js/components/layout/document-bar.reel/document-bar.html | |||
@@ -32,6 +32,20 @@ | |||
32 | } | 32 | } |
33 | }, | 33 | }, |
34 | 34 | ||
35 | "disable": { | ||
36 | "prototype": "montage/ui/condition.reel", | ||
37 | "properties": { | ||
38 | "element": {"#": "disabledCondition"} | ||
39 | }, | ||
40 | "bindings": { | ||
41 | "condition": { | ||
42 | "boundObject": {"@": "owner"}, | ||
43 | "boundObjectPropertyPath": "disabled", | ||
44 | "oneway": true | ||
45 | } | ||
46 | } | ||
47 | }, | ||
48 | |||
35 | "owner": { | 49 | "owner": { |
36 | "module": "js/components/layout/document-bar.reel", | 50 | "module": "js/components/layout/document-bar.reel", |
37 | "name": "DocumentBar", | 51 | "name": "DocumentBar", |
@@ -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 |