aboutsummaryrefslogtreecommitdiff
path: root/js/document/models
diff options
context:
space:
mode:
Diffstat (limited to 'js/document/models')
-rwxr-xr-xjs/document/models/html.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/document/models/html.js b/js/document/models/html.js
index 9cc8ce92..10112565 100755
--- a/js/document/models/html.js
+++ b/js/document/models/html.js
@@ -69,6 +69,7 @@ exports.HtmlDocumentModel = Montage.create(BaseDocumentModel, {
69 setComponentInstance: { 69 setComponentInstance: {
70 value: function(instance, el) { 70 value: function(instance, el) {
71 this.userComponents[el.uuid] = instance; 71 this.userComponents[el.uuid] = instance;
72 this.objects.push(instance);
72 } 73 }
73 }, 74 },
74 //////////////////////////////////////////////////////////////////// 75 ////////////////////////////////////////////////////////////////////
@@ -81,6 +82,10 @@ exports.HtmlDocumentModel = Montage.create(BaseDocumentModel, {
81 return null; 82 return null;
82 } 83 }
83 } 84 }
85 },
86 ////////////////////////////////////////////////////////////////////
87 objects : {
88 value: null
84 } 89 }
85 //////////////////////////////////////////////////////////////////// 90 ////////////////////////////////////////////////////////////////////
86 //////////////////////////////////////////////////////////////////// 91 ////////////////////////////////////////////////////////////////////