aboutsummaryrefslogtreecommitdiff
path: root/js/document/document-html.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-07 17:19:16 -0700
committerNivesh Rajbhandari2012-05-07 17:19:16 -0700
commit377c57c7debc98071593056be033978bd337c37e (patch)
treebade422fe2471a18944e846cfec1dd188a6cdae3 /js/document/document-html.js
parentaa8cfcfe0091651708f77300f48a7e703f92f341 (diff)
parent4d949f141247215b5f2a6ec0cfc7d2d31cf2bb1f (diff)
downloadninja-377c57c7debc98071593056be033978bd337c37e.tar.gz
Merge branch 'refs/heads/dom-architecture-master' into Dom-Architecture
Conflicts: js/document/document-html.js Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/document/document-html.js')
-rwxr-xr-xjs/document/document-html.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/document/document-html.js b/js/document/document-html.js
index d0f5b817..567e4455 100755
--- a/js/document/document-html.js
+++ b/js/document/document-html.js
@@ -81,7 +81,10 @@ exports.HtmlDocument = Montage.create(Component, {
81 } 81 }
82 // 82 //
83 if (view === 'design') { 83 if (view === 'design') {
84 this.currentView = "design"; 84 //TODO: Remove reference and use as part of model
85 this.currentView = 'design';
86 //Setting current view object to design
87 this.model.currentView = this.model.views.design;
85 //Showing design iFrame 88 //Showing design iFrame
86 this.model.views.design.show(); 89 this.model.views.design.show();
87 this.model.views.design.iframe.style.opacity = 0; 90 this.model.views.design.iframe.style.opacity = 0;