aboutsummaryrefslogtreecommitdiff
path: root/js/io/ui/save-as-dialog.reel
diff options
context:
space:
mode:
authorAnanya Sen2012-02-10 15:50:14 -0800
committerAnanya Sen2012-02-10 15:50:14 -0800
commitc627ebb5735d55218813b073c655dae6cded6040 (patch)
treef716757dab75d7626297893c7f4aca3596d606de /js/io/ui/save-as-dialog.reel
parent8c40940f030adb74f534c3c5ad8d845e41f09b30 (diff)
downloadninja-c627ebb5735d55218813b073c655dae6cded6040.tar.gz
show iframeContainer if all documents are closed
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/io/ui/save-as-dialog.reel')
-rw-r--r--js/io/ui/save-as-dialog.reel/save-as-dialog.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/io/ui/save-as-dialog.reel/save-as-dialog.js b/js/io/ui/save-as-dialog.reel/save-as-dialog.js
index 4546e124..786ef5c9 100644
--- a/js/io/ui/save-as-dialog.reel/save-as-dialog.js
+++ b/js/io/ui/save-as-dialog.reel/save-as-dialog.js
@@ -89,7 +89,7 @@ var SaveAsDialog = exports.SaveAsDialog = Montage.create(Component, {
89 89
90 enableOk:{ 90 enableOk:{
91 value: function(){ 91 value: function(){
92 if(this.isValidFileName(this.fileName) && this.isValidUri(this.folderUri) && !this.checkFileExists(this.fileName, this.folderUri)){ 92 if(this.isValidFileName(this.fileName) && this.isValidUri(this.folderUri)){
93 this.okButton.removeAttribute("disabled"); 93 this.okButton.removeAttribute("disabled");
94 this.error.innerHTML=""; 94 this.error.innerHTML="";
95 } 95 }
@@ -141,7 +141,7 @@ var SaveAsDialog = exports.SaveAsDialog = Montage.create(Component, {
141 } 141 }
142 } 142 }
143 }else{ 143 }else{
144 if(this.error.innerHTML !== ""){ 144 if(this.error.innerHTML === ""){
145 this.showError("! Name and Location should be valid."); 145 this.showError("! Name and Location should be valid.");
146 } 146 }
147 //disable ok 147 //disable ok