diff options
author | Ananya Sen | 2012-02-09 11:12:21 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-09 11:12:21 -0800 |
commit | c9d0cb73698066247c6267bba8fa446a979565fb (patch) | |
tree | 8d706201eb23565e41e288c710e9ff8a83639113 /js/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js | |
parent | 04d375a02e44d1c11054ace16cd243ada8e6bd23 (diff) | |
download | ninja-c9d0cb73698066247c6267bba8fa446a979565fb.tar.gz |
fixed templates descriptor, changed validation to on key up, fixed minor ui issues
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js')
-rwxr-xr-x | js/io/ui/new-file-dialog/new-file-location.reel/new-file-location.js | 4 |
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"); |