aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/document-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controllers/document-controller.js')
-rwxr-xr-xjs/controllers/document-controller.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js
index c6bf4c6b..cf96208f 100755
--- a/js/controllers/document-controller.js
+++ b/js/controllers/document-controller.js
@@ -88,7 +88,8 @@ var DocumentController = exports.DocumentController = Montage.create(Component,
88 88
89 89
90 90
91 91 //TODO: Ensure these APIs are not needed
92 /*
92//////////////////////////////////////////////////////////////////// 93////////////////////////////////////////////////////////////////////
93 // 94 //
94 handleWebRequest: { 95 handleWebRequest: {
@@ -119,6 +120,7 @@ var DocumentController = exports.DocumentController = Montage.create(Component,
119 } 120 }
120 }, 121 },
121 //////////////////////////////////////////////////////////////////// 122 ////////////////////////////////////////////////////////////////////
123*/
122 124
123 125
124 126
@@ -366,7 +368,7 @@ var DocumentController = exports.DocumentController = Montage.create(Component,
366 case 'html': 368 case 'html':
367 //Open in designer view 369 //Open in designer view
368 this._hackRootFlag = false; 370 this._hackRootFlag = false;
369 Montage.create(Document).init(doc, this, this._onOpenDocument); 371 Montage.create(Document).init(doc, this, this._onOpenDocument, 'design');
370 break; 372 break;
371 default: 373 default:
372 //Open in code view 374 //Open in code view