aboutsummaryrefslogtreecommitdiff
path: root/js/io/ui/new-file-dialog/new-file-location.reel
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-09 11:18:32 -0800
committerJose Antonio Marquez2012-02-09 11:18:32 -0800
commitd7e198f5a95011679fa2c536780edbdc533a4893 (patch)
treecf0f7b844d466cb7af96f4779ebee505b02bcda2 /js/io/ui/new-file-dialog/new-file-location.reel
parentea6ec16e91740211a517db72f56108a033a521fe (diff)
parentc9d0cb73698066247c6267bba8fa446a979565fb (diff)
downloadninja-d7e198f5a95011679fa2c536780edbdc533a4893.tar.gz
Merge branch 'refs/heads/AnanyaFileIO' into FileIO
Conflicts: js/io/system/fileio.js js/mediators/io-mediator.js
Diffstat (limited to 'js/io/ui/new-file-dialog/new-file-location.reel')
-rwxr-xr-xjs/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js b/js/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js
index 7da13dfc..fae8f9c7 100755
--- a/js/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js
+++ b/js/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js
@@ -37,12 +37,12 @@ var NewFileLocation = exports.NewFileLocation = Montage.create(Component, {
37 37
38 this.fileInputField.selectDirectory = true; 38 this.fileInputField.selectDirectory = true;
39 39
40 this.newFileName.addEventListener("blur", function(evt){that.handleNewFileNameOnblur(evt);}, false); 40 this.newFileName.addEventListener("keyup", function(evt){that.handleNewFileNameOnkeyup(evt);}, false);
41 } 41 }
42 42
43 }, 43 },
44 44
45 handleNewFileNameOnblur:{ 45 handleNewFileNameOnkeyup:{
46 value:function(evt){ 46 value:function(evt){
47 if(this.newFileName.value !== ""){ 47 if(this.newFileName.value !== ""){
48 var newFileNameSetEvent = document.createEvent("Events"); 48 var newFileNameSetEvent = document.createEvent("Events");