diff options
Diffstat (limited to 'js/components/layout/tools-list.reel/tools-list.html')
-rwxr-xr-x | js/components/layout/tools-list.reel/tools-list.html | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/js/components/layout/tools-list.reel/tools-list.html b/js/components/layout/tools-list.reel/tools-list.html index 3e49a4f3..5996e446 100755 --- a/js/components/layout/tools-list.reel/tools-list.html +++ b/js/components/layout/tools-list.reel/tools-list.html | |||
@@ -136,6 +136,21 @@ | |||
136 | "name": "ZoomTool" | 136 | "name": "ZoomTool" |
137 | }, | 137 | }, |
138 | 138 | ||
139 | "disable": { | ||
140 | "module": "montage/ui/condition.reel", | ||
141 | "name": "Condition", | ||
142 | "properties": { | ||
143 | "element": {"#": "disabledCondition"} | ||
144 | }, | ||
145 | "bindings": { | ||
146 | "condition": { | ||
147 | "boundObject": {"@": "owner"}, | ||
148 | "boundObjectPropertyPath": "disabled", | ||
149 | "oneway": true | ||
150 | } | ||
151 | } | ||
152 | }, | ||
153 | |||
139 | "owner": { | 154 | "owner": { |
140 | "module": "js/components/layout/tools-list.reel", | 155 | "module": "js/components/layout/tools-list.reel", |
141 | "name": "ToolsList", | 156 | "name": "ToolsList", |
@@ -165,25 +180,7 @@ | |||
165 | {"@": "repetition1"} | 180 | {"@": "repetition1"} |
166 | ] | 181 | ] |
167 | } | 182 | } |
168 | }, | ||
169 | |||
170 | "disabledCondition": { | ||
171 | "module": "montage/ui/condition.reel", | ||
172 | "name": "Condition", | ||
173 | "properties": { | ||
174 | "element": {"#": "disabledCondition"} | ||
175 | }, | ||
176 | "bindings": { | ||
177 | "condition": { | ||
178 | "boundObject": {"@": "owner"}, | ||
179 | "boundObjectPropertyPath": "disabled", | ||
180 | "oneway": true | ||
181 | } | ||
182 | } | ||
183 | } | 183 | } |
184 | |||
185 | |||
186 | |||
187 | } | 184 | } |
188 | </script> | 185 | </script> |
189 | 186 | ||