diff options
author | Ananya Sen | 2012-02-10 15:50:14 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-10 15:50:14 -0800 |
commit | c627ebb5735d55218813b073c655dae6cded6040 (patch) | |
tree | f716757dab75d7626297893c7f4aca3596d606de /js/io/system | |
parent | 8c40940f030adb74f534c3c5ad8d845e41f09b30 (diff) | |
download | ninja-c627ebb5735d55218813b073c655dae6cded6040.tar.gz |
show iframeContainer if all documents are closed
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/io/system')
-rw-r--r-- | js/io/system/chromeapi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/io/system/chromeapi.js b/js/io/system/chromeapi.js index eee7409d..e53d4841 100644 --- a/js/io/system/chromeapi.js +++ b/js/io/system/chromeapi.js | |||
@@ -180,7 +180,7 @@ exports.ChromeApi = Montage.create(Object.prototype, { | |||
180 | //Checking for directory not to already exist | 180 | //Checking for directory not to already exist |
181 | this.fileSystem.root.getDirectory(directoryPath, {}, function(dir) { | 181 | this.fileSystem.root.getDirectory(directoryPath, {}, function(dir) { |
182 | if (callback) callback(false); | 182 | if (callback) callback(false); |
183 | return; //Directory already exists | 183 | return false; //Directory already exists |
184 | }); | 184 | }); |
185 | //Creating new directory | 185 | //Creating new directory |
186 | this.fileSystem.root.getDirectory(directoryPath, {create: true}, function(dir) { | 186 | this.fileSystem.root.getDirectory(directoryPath, {create: true}, function(dir) { |