aboutsummaryrefslogtreecommitdiff
path: root/user-document-templates/montage-application-cloud
diff options
context:
space:
mode:
Diffstat (limited to 'user-document-templates/montage-application-cloud')
-rw-r--r--user-document-templates/montage-application-cloud/main.reel/main.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/user-document-templates/montage-application-cloud/main.reel/main.js b/user-document-templates/montage-application-cloud/main.reel/main.js
index 036d6c24..90262073 100644
--- a/user-document-templates/montage-application-cloud/main.reel/main.js
+++ b/user-document-templates/montage-application-cloud/main.reel/main.js
@@ -45,7 +45,14 @@ exports.Main = Montage.create(Component, {
45 45
46 var button = require.async(stro) 46 var button = require.async(stro)
47 .then(function (button) { 47 .then(function (button) {
48 callback(); 48 var btIns = button["Button"];
49
50 btIns.element = containerElement;
51 btIns.deserializedFromTemplate();
52
53 btIns.needsDraw = true;
54 btIns.label = "Button";
55 callback(btIns, containerElement);
49 }) 56 })
50 .end(); 57 .end();
51 58