diff options
Diffstat (limited to 'js/panels/objects/object.reel/object.html')
-rw-r--r-- | js/panels/objects/object.reel/object.html | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/js/panels/objects/object.reel/object.html b/js/panels/objects/object.reel/object.html index 6274f480..f9de1499 100644 --- a/js/panels/objects/object.reel/object.html +++ b/js/panels/objects/object.reel/object.html | |||
@@ -21,14 +21,10 @@ | |||
21 | "labelText": { | 21 | "labelText": { |
22 | "prototype": "montage/ui/dynamic-text.reel", | 22 | "prototype": "montage/ui/dynamic-text.reel", |
23 | "properties": { | 23 | "properties": { |
24 | "element": {"#": "label" } | 24 | "element": {"#": "name" } |
25 | }, | 25 | }, |
26 | "bindings": { | 26 | "bindings": { |
27 | "value" : { | 27 | "value" : {"<-": "@owner.name"} |
28 | "boundObject": {"@": "owner"}, | ||
29 | "boundObjectPropertyPath": "label", | ||
30 | "oneway": true | ||
31 | } | ||
32 | } | 28 | } |
33 | } | 29 | } |
34 | 30 | ||
@@ -41,7 +37,7 @@ | |||
41 | 37 | ||
42 | <li data-montage-id="object" draggable="true"> | 38 | <li data-montage-id="object" draggable="true"> |
43 | <div data-montage-id="object-icon" class="object-icon"></div> | 39 | <div data-montage-id="object-icon" class="object-icon"></div> |
44 | <span data-montage-id="label" class="object-label"></span> | 40 | <span data-montage-id="name" class="object-name"></span> |
45 | </li> | 41 | </li> |
46 | 42 | ||
47 | </body> | 43 | </body> |