diff options
Diffstat (limited to 'js/document')
-rwxr-xr-x | js/document/templates/html/index.html | 5 | ||||
-rwxr-xr-x | js/document/views/design.js | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/js/document/templates/html/index.html b/js/document/templates/html/index.html index bee2e557..8fc0d82f 100755 --- a/js/document/templates/html/index.html +++ b/js/document/templates/html/index.html | |||
@@ -113,10 +113,7 @@ | |||
113 | <script type="text/montage-serialization" data-ninja-template="true"> | 113 | <script type="text/montage-serialization" data-ninja-template="true"> |
114 | { | 114 | { |
115 | "owner": { | 115 | "owner": { |
116 | "prototype": "main", | 116 | "prototype": "main" |
117 | "properties": { | ||
118 | "identifier": "testOwner" | ||
119 | } | ||
120 | } | 117 | } |
121 | } | 118 | } |
122 | </script> | 119 | </script> |
diff --git a/js/document/views/design.js b/js/document/views/design.js index 6a6f565d..4a75a1b4 100755 --- a/js/document/views/design.js +++ b/js/document/views/design.js | |||
@@ -454,8 +454,7 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { | |||
454 | initMontage: { | 454 | initMontage: { |
455 | value: function (scripttags) { | 455 | value: function (scripttags) { |
456 | var self = this; | 456 | var self = this; |
457 | // | 457 | |
458 | //debugger; | ||
459 | this.iframe.contentWindow.document.body.addEventListener('mjsTemplateReady', function () { | 458 | this.iframe.contentWindow.document.body.addEventListener('mjsTemplateReady', function () { |
460 | //Initializing template with user's seriliazation | 459 | //Initializing template with user's seriliazation |
461 | var template = this.iframe.contentWindow.mjsTemplate.create(); | 460 | var template = this.iframe.contentWindow.mjsTemplate.create(); |