diff options
author | Eric Guzman | 2012-06-11 07:19:19 -0700 |
---|---|---|
committer | Eric Guzman | 2012-06-11 07:19:19 -0700 |
commit | 47d45e16bee15fd9f1f793a0bad3b93ad1b985fc (patch) | |
tree | 78c700c6a18b924674b5be302a2d5d00ee27baf7 /js/document | |
parent | 7b5b65fc9183026633d97c310cbe6500082be8dd (diff) | |
download | ninja-47d45e16bee15fd9f1f793a0bad3b93ad1b985fc.tar.gz |
Edit View - Add buttons and calls controller (saves bindings)
Diffstat (limited to 'js/document')
-rw-r--r-- | js/document/templates/app/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/templates/app/main.js b/js/document/templates/app/main.js index 91c46fda..e2bdc1a0 100644 --- a/js/document/templates/app/main.js +++ b/js/document/templates/app/main.js | |||
@@ -29,7 +29,7 @@ exports.Main = Montage.create(Component, { | |||
29 | var componentRequire = component[data.name]; | 29 | var componentRequire = component[data.name]; |
30 | var componentInstance = componentRequire.create(); | 30 | var componentInstance = componentRequire.create(); |
31 | 31 | ||
32 | componentInstance._montage_metadata.label = data.name; | 32 | componentInstance._montage_metadata.label = componentInstance.identifier = data.name; |
33 | componentInstance.element = element; | 33 | componentInstance.element = element; |
34 | 34 | ||
35 | componentInstance.needsDraw = true; | 35 | componentInstance.needsDraw = true; |