aboutsummaryrefslogtreecommitdiff
path: root/js/components
diff options
context:
space:
mode:
Diffstat (limited to 'js/components')
-rwxr-xr-xjs/components/layout/document-bar.reel/document-bar.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/js/components/layout/document-bar.reel/document-bar.js b/js/components/layout/document-bar.reel/document-bar.js
index f5e61a18..77f05bc1 100755
--- a/js/components/layout/document-bar.reel/document-bar.js
+++ b/js/components/layout/document-bar.reel/document-bar.js
@@ -238,7 +238,18 @@ exports.DocumentBar = Montage.create(Component, {
238 iBtn.setAttribute('class', 'inactive'); 238 iBtn.setAttribute('class', 'inactive');
239 aBtn.removeAttribute('class'); 239 aBtn.removeAttribute('class');
240 //TODO: Add document parsing to reload view 240 //TODO: Add document parsing to reload view
241 this._currentDocument.reloadView(view, this.fileTemplate); 241 this._currentDocument.reloadView(view, this.fileTemplate, {
242 mode: 'html',
243 libs: this._currentDocument.model.libs,
244 file: this._currentDocument.model.file,
245 webgl: this._currentDocument.model.webGlHelper.glData,
246 styles: this._currentDocument.model.getStyleSheets(),
247 template: this._currentDocument.fileTemplate,
248 document: this._currentDocument.model.views.design.iframe.contentWindow.document,
249 head: this._currentDocument.model.views.design.iframe.contentWindow.document.head,
250 body: this._currentDocument.model.views.design.iframe.contentWindow.document.body,
251 mjsTemplateCreator: this._currentDocument.model.views.design.iframe.contentWindow.mjsTemplateCreator
252 });
242 } 253 }
243 } 254 }
244 }, 255 },