diff options
author | Ananya Sen | 2012-02-02 12:59:41 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-02 12:59:41 -0800 |
commit | 476a25e8a662270dfe5b37c560e4235f02b146e4 (patch) | |
tree | 11fbb125e67e09e8b245c84370c1526e9841188f /js/io/ui/save-as-dialog.reel/save-as-dialog.js | |
parent | e806afea0eb1b66ac457471983db0e3d5942d222 (diff) | |
download | ninja-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/save-as-dialog.reel/save-as-dialog.js')
-rw-r--r-- | js/io/ui/save-as-dialog.reel/save-as-dialog.js | 2 |
1 files changed, 1 insertions, 1 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 371aa9a7..b20bed87 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 | |||
@@ -152,7 +152,7 @@ var SaveAsDialog = exports.SaveAsDialog = Montage.create(Component, { | |||
152 | 152 | ||
153 | isValidUri:{ | 153 | isValidUri:{ |
154 | value: function(uri){ | 154 | value: function(uri){ |
155 | var status= nj.isValidUri(uri); | 155 | var status= this.application.ninja.coreIoApi.isValidUri(uri); |
156 | if(uri !== ""){ | 156 | if(uri !== ""){ |
157 | if(!status){ | 157 | if(!status){ |
158 | this.showError("! Invalid directory."); | 158 | this.showError("! Invalid directory."); |