From e82a0dac35fcea2d1ce7bcbb3e89c822c87d774f Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Tue, 5 Jun 2012 16:13:08 -0700 Subject: IKNINJA-1645- fix - don't disable OK button on change of file type Signed-off-by: Ananya Sen --- .../new-file-options-navigator.reel/new-file-options-navigator.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'js') diff --git a/js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js b/js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js index ebe2df61..7227d532 100644 --- a/js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js +++ b/js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js @@ -195,11 +195,6 @@ var NewFileOptionsNavigator = exports.NewFileOptionsNavigator = Montage.create(C } } - //disable ok - if(!this.okButton.hasAttribute("disabled")){ - this.okButton.setAttribute("disabled", "true"); - } - //save project type selection this.selectedProjectType = {"uri":evt.uri, "element":evt.target}; -- cgit v1.2.3 From 5d1fd1fc1da434cd56ac8f366eb17b692c786497 Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Tue, 5 Jun 2012 16:27:46 -0700 Subject: IKNINJA-1662 - fixed js error while resizing brewing in code view Signed-off-by: Ananya Sen --- js/stage/stage.reel/stage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js index d8f7313b..d7331e0d 100755 --- a/js/stage/stage.reel/stage.js +++ b/js/stage/stage.reel/stage.js @@ -240,7 +240,7 @@ exports.Stage = Montage.create(Component, { // Hack for now until a full component this.layout.draw(); - if(this.currentDocument) { + if(this.currentDocument && (this.currentDocument.currentView === "design")) { this.layout.draw3DInfo(true); } } else if(this.updatedStage) { -- cgit v1.2.3