diff options
Diffstat (limited to 'js/document/html-document.js')
-rwxr-xr-x | js/document/html-document.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js index 16595d14..ae2b4600 100755 --- a/js/document/html-document.js +++ b/js/document/html-document.js | |||
@@ -235,7 +235,7 @@ exports.HTMLDocument = Montage.create(TextDocument, { | |||
235 | // | 235 | // |
236 | initialize: { | 236 | initialize: { |
237 | value: function(file, uuid, iframe, callback) { | 237 | value: function(file, uuid, iframe, callback) { |
238 | //console.log('allow'); | 238 | this.application.ninja.documentController._hackRootFlag = false; |
239 | // | 239 | // |
240 | this._userDocument = file; | 240 | this._userDocument = file; |
241 | // | 241 | // |
@@ -363,7 +363,8 @@ exports.HTMLDocument = Montage.create(TextDocument, { | |||
363 | // | 363 | // |
364 | handleEvent: { | 364 | handleEvent: { |
365 | value: function(event){ | 365 | value: function(event){ |
366 | 366 | this.application.ninja.documentController._hackRootFlag = true; | |
367 | //console.log(this._userDocument.root, this); | ||
367 | //TODO: Clean up, using for prototyping save | 368 | //TODO: Clean up, using for prototyping save |
368 | this._templateDocument = {}; | 369 | this._templateDocument = {}; |
369 | this._templateDocument.head = this.iframe.contentWindow.document.getElementById("userHead");; | 370 | this._templateDocument.head = this.iframe.contentWindow.document.getElementById("userHead");; |