aboutsummaryrefslogtreecommitdiff
path: root/js/panels/objects/object.reel/object.html
diff options
context:
space:
mode:
authorEric Guzman2012-06-20 11:40:17 -0700
committerEric Guzman2012-06-20 11:40:17 -0700
commite9783135c3a6c95b7ccc3a6e45f40a030a2a067c (patch)
treeeedb2330b7ef04008690073f36fdc70348f2aa6c /js/panels/objects/object.reel/object.html
parent5b303f858ab78877f26f61e87230b010460ee03b (diff)
downloadninja-e9783135c3a6c95b7ccc3a6e45f40a030a2a067c.tar.gz
Objects Tray - Use label instead of identifier for object name
Diffstat (limited to 'js/panels/objects/object.reel/object.html')
-rw-r--r--js/panels/objects/object.reel/object.html10
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>