From aa8cfcfe0091651708f77300f48a7e703f92f341 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Mon, 7 May 2012 15:41:40 -0700 Subject: Adding back currentView property in document-html so that menus work. Signed-off-by: Nivesh Rajbhandari --- js/document/document-html.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/document/document-html.js b/js/document/document-html.js index 79fe461b..d0f5b817 100755 --- a/js/document/document-html.js +++ b/js/document/document-html.js @@ -81,6 +81,7 @@ exports.HtmlDocument = Montage.create(Component, { } // if (view === 'design') { + this.currentView = "design"; //Showing design iFrame this.model.views.design.show(); this.model.views.design.iframe.style.opacity = 0; @@ -118,8 +119,6 @@ exports.HtmlDocument = Montage.create(Component, { this.loaded.callback.call(this.loaded.context, this); //Setting opacity to be viewable after load this.model.views.design.iframe.style.opacity = 1; - //TODO: Remove, this is a temp hard-coded hack - this.application.ninja.appModel.show3dGrid = true; } } //////////////////////////////////////////////////////////////////// -- cgit v1.2.3