diff options
Diffstat (limited to 'js/stage')
-rwxr-xr-x | js/stage/stage-view.reel/stage-view.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/stage/stage-view.reel/stage-view.js b/js/stage/stage-view.reel/stage-view.js index dcc84a35..518c3bdd 100755 --- a/js/stage/stage-view.reel/stage-view.js +++ b/js/stage/stage-view.reel/stage-view.js | |||
@@ -112,7 +112,7 @@ exports.StageView = Montage.create(Component, { | |||
112 | } | 112 | } |
113 | document.getElementById("codeMirror_"+doc.uuid).style.display="block"; | 113 | document.getElementById("codeMirror_"+doc.uuid).style.display="block"; |
114 | 114 | ||
115 | doc.editor = this.application.ninja.codeEditorController.createEditor(doc, type); | 115 | doc.editor = this.application.ninja.codeEditorController.createEditor(doc, type, doc.documentType); |
116 | doc.editor.hline = doc.editor.setLineClass(0, "activeline"); | 116 | doc.editor.hline = doc.editor.setLineClass(0, "activeline"); |
117 | 117 | ||
118 | this.application.ninja.stage._scrollFlag = false; // TODO HACK to prevent type error on Hide/Show Iframe | 118 | this.application.ninja.stage._scrollFlag = false; // TODO HACK to prevent type error on Hide/Show Iframe |