From 13da56e791b7478ad3dbb8162a583a6b2c8c4b6b Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Fri, 18 May 2012 17:27:31 -0700 Subject: Style Declaration - Handle removing styles Removed sorting and had to put a null check in the style component because the valueText was being set to undefined and causing an error. Check with montage on why that is happening. --- js/panels/css-panel/style-declaration.reel/style-declaration.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'js/panels/css-panel/style-declaration.reel/style-declaration.html') diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.html b/js/panels/css-panel/style-declaration.reel/style-declaration.html index 5724ffc3..b1381bc6 100644 --- a/js/panels/css-panel/style-declaration.reel/style-declaration.html +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html @@ -44,6 +44,11 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "declaration": {"@": "owner"} }, "bindings": { + "source" : { + "boundObject": {"@": "repetition"}, + "boundObjectPropertyPath": "objectAtCurrentIteration", + "oneway": true + }, "propertyText" : { "boundObject": {"@": "repetition"}, "boundObjectPropertyPath": "objectAtCurrentIteration.name" -- cgit v1.2.3