diff options
author | Ananya Sen | 2012-03-06 16:18:56 -0800 |
---|---|---|
committer | Ananya Sen | 2012-03-06 16:18:56 -0800 |
commit | fbde30a4651d34ac569bf6750db5dd017ccc8d6e (patch) | |
tree | 30c411fbe3d956528b38f87ae01d98163b5527c7 /js/io/ui/file-picker/file-picker-controller.js | |
parent | 0e221e80eb41bbe770c195838373b9e27de54c7a (diff) | |
download | ninja-fbde30a4651d34ac569bf6750db5dd017ccc8d6e.tar.gz |
fixed picker address dropdown to backtrace till the logical drive
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/io/ui/file-picker/file-picker-controller.js')
-rwxr-xr-x | js/io/ui/file-picker/file-picker-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/io/ui/file-picker/file-picker-controller.js b/js/io/ui/file-picker/file-picker-controller.js index 3b19de83..105dc223 100755 --- a/js/io/ui/file-picker/file-picker-controller.js +++ b/js/io/ui/file-picker/file-picker-controller.js | |||
@@ -104,7 +104,7 @@ var FilePickerController = exports.FilePickerController = Montage.create(require | |||
104 | aModel.topLevelDirectories = topLevelDirectories; | 104 | aModel.topLevelDirectories = topLevelDirectories; |
105 | 105 | ||
106 | if(!!topLevelDirectories && !!topLevelDirectories[0]){ | 106 | if(!!topLevelDirectories && !!topLevelDirectories[0]){ |
107 | aModel.currentRoot = topLevelDirectories[0].uri; | 107 | aModel.currentRoot = aModel.currentLogicalDrive = topLevelDirectories[0].uri; |
108 | } | 108 | } |
109 | 109 | ||
110 | //populate the last opened folder first, if none then populate default root | 110 | //populate the last opened folder first, if none then populate default root |