aboutsummaryrefslogtreecommitdiff
path: root/js/io/ui/new-file-dialog/new-file-options-navigator.reel
diff options
context:
space:
mode:
authorAnanya Sen2012-02-02 12:59:41 -0800
committerAnanya Sen2012-02-02 12:59:41 -0800
commit476a25e8a662270dfe5b37c560e4235f02b146e4 (patch)
tree11fbb125e67e09e8b245c84370c1526e9841188f /js/io/ui/new-file-dialog/new-file-options-navigator.reel
parente806afea0eb1b66ac457471983db0e3d5942d222 (diff)
downloadninja-476a25e8a662270dfe5b37c560e4235f02b146e4.tar.gz
uri validation moved to file io apis
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/io/ui/new-file-dialog/new-file-options-navigator.reel')
-rw-r--r--js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js2
1 files changed, 1 insertions, 1 deletions
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 cee8d4b7..a747b8de 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
@@ -335,7 +335,7 @@ var NewFileOptionsNavigator = exports.NewFileOptionsNavigator = Montage.create(C
335 335
336 isValidUri:{ 336 isValidUri:{
337 value: function(uri){ 337 value: function(uri){
338 var status= nj.isValidUri(uri); 338 var status= this.application.ninja.coreIoApi.isValidUri(uri);
339 if(uri !== ""){ 339 if(uri !== ""){
340 if(!status){ 340 if(!status){
341 this.showError("! Invalid directory."); 341 this.showError("! Invalid directory.");