diff options
-rw-r--r-- | js/components/toolbar.reel/toolbar.html | 3 | ||||
-rwxr-xr-x | js/panels/PanelContainer.reel/PanelContainer.html | 3 | ||||
-rw-r--r-- | js/panels/objects/object.reel/object.js | 11 |
3 files changed, 13 insertions, 4 deletions
diff --git a/js/components/toolbar.reel/toolbar.html b/js/components/toolbar.reel/toolbar.html index 51e7ebec..c23e082f 100644 --- a/js/components/toolbar.reel/toolbar.html +++ b/js/components/toolbar.reel/toolbar.html | |||
@@ -19,8 +19,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
19 | }, | 19 | }, |
20 | 20 | ||
21 | "buttonList": { | 21 | "buttonList": { |
22 | "module": "montage/ui/repetition.reel", | 22 | "prototype" : "montage/ui/repetition.reel", |
23 | "name": "Repetition", | ||
24 | "properties": { | 23 | "properties": { |
25 | "element": {"#": "repetition"} | 24 | "element": {"#": "repetition"} |
26 | }, | 25 | }, |
diff --git a/js/panels/PanelContainer.reel/PanelContainer.html b/js/panels/PanelContainer.reel/PanelContainer.html index ed6e8463..820348d2 100755 --- a/js/panels/PanelContainer.reel/PanelContainer.html +++ b/js/panels/PanelContainer.reel/PanelContainer.html | |||
@@ -74,8 +74,7 @@ | |||
74 | }, | 74 | }, |
75 | 75 | ||
76 | "panel_6": { | 76 | "panel_6": { |
77 | "module": "js/panels/Panel.reel", | 77 | "prototype": "js/panels/Panel.reel", |
78 | "name": "Panel", | ||
79 | "properties": { | 78 | "properties": { |
80 | "element": {"#": "panel_6"} | 79 | "element": {"#": "panel_6"} |
81 | }, | 80 | }, |
diff --git a/js/panels/objects/object.reel/object.js b/js/panels/objects/object.reel/object.js index 6f8f5c92..1426f800 100644 --- a/js/panels/objects/object.reel/object.js +++ b/js/panels/objects/object.reel/object.js | |||
@@ -16,6 +16,17 @@ exports.Object = Montage.create(Component, { | |||
16 | iconElement : { value: null }, | 16 | iconElement : { value: null }, |
17 | type : { value: null }, | 17 | type : { value: null }, |
18 | 18 | ||
19 | |||
20 | _name : { value: null }, | ||
21 | name: { | ||
22 | get: function() { | ||
23 | return this._name; | ||
24 | }, | ||
25 | set: function(val) { | ||
26 | this.name = val; | ||
27 | } | ||
28 | }, | ||
29 | |||
19 | _sourceObject : { value: null }, | 30 | _sourceObject : { value: null }, |
20 | sourceObject : { | 31 | sourceObject : { |
21 | get: function() { | 32 | get: function() { |