diff options
author | Valerio Virgillito | 2012-05-15 13:29:41 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-15 13:29:41 -0700 |
commit | 1d72a82a4c27a288e900eab99818222159ef8e23 (patch) | |
tree | 49e541deed8c698c3f308d0d484cca716651950a /js/document/models | |
parent | a2bdd73e456569a1472e108dc069faca369d4546 (diff) | |
parent | 374ab6d8980b810a1c943b14a1aea07cb85389ad (diff) | |
download | ninja-1d72a82a4c27a288e900eab99818222159ef8e23.tar.gz |
Merge pull request #231 from joseeight/Document
Open new banner templates
Diffstat (limited to 'js/document/models')
-rwxr-xr-x | js/document/models/base.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/document/models/base.js b/js/document/models/base.js index 0f58e75c..5f2a5893 100755 --- a/js/document/models/base.js +++ b/js/document/models/base.js | |||
@@ -138,6 +138,7 @@ exports.BaseDocumentModel = Montage.create(Component, { | |||
138 | file: this.file, | 138 | file: this.file, |
139 | webgl: this.webGlHelper.glData, | 139 | webgl: this.webGlHelper.glData, |
140 | styles: this.getStyleSheets(), | 140 | styles: this.getStyleSheets(), |
141 | template: this.fileTemplate, | ||
141 | document: this.views.design.iframe.contentWindow.document, | 142 | document: this.views.design.iframe.contentWindow.document, |
142 | head: this.views.design.iframe.contentWindow.document.head, | 143 | head: this.views.design.iframe.contentWindow.document.head, |
143 | body: this.views.design.iframe.contentWindow.document.body | 144 | body: this.views.design.iframe.contentWindow.document.body |
@@ -165,6 +166,7 @@ exports.BaseDocumentModel = Montage.create(Component, { | |||
165 | file: this.file, | 166 | file: this.file, |
166 | webgl: this.webGlHelper.glData, | 167 | webgl: this.webGlHelper.glData, |
167 | css: this.getStyleSheets(), | 168 | css: this.getStyleSheets(), |
169 | template: this.fileTemplate, | ||
168 | document: this.views.design.iframe.contentWindow.document, | 170 | document: this.views.design.iframe.contentWindow.document, |
169 | head: this.views.design.iframe.contentWindow.document.head, | 171 | head: this.views.design.iframe.contentWindow.document.head, |
170 | body: this.views.design.iframe.contentWindow.document.body | 172 | body: this.views.design.iframe.contentWindow.document.body |