diff options
author | Pushkar Joshi | 2012-03-06 17:04:40 -0800 |
---|---|---|
committer | Pushkar Joshi | 2012-03-06 17:04:40 -0800 |
commit | 7a43958033906b2273de88bc2a26cda7a905d202 (patch) | |
tree | f71817e712c4b07a48257a4f0b206cf9033421df /js/io/ui/file-picker/picker-navigator.reel/picker-navigator.js | |
parent | 264e3d8e6d3624083d2fab9fe2560234553bb2ad (diff) | |
parent | 2e3943a8f751ec572066f168b58464c24b9f29e5 (diff) | |
download | ninja-7a43958033906b2273de88bc2a26cda7a905d202.tar.gz |
Merge branch 'master' into brushtool
Diffstat (limited to 'js/io/ui/file-picker/picker-navigator.reel/picker-navigator.js')
-rw-r--r-- | js/io/ui/file-picker/picker-navigator.reel/picker-navigator.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/io/ui/file-picker/picker-navigator.reel/picker-navigator.js b/js/io/ui/file-picker/picker-navigator.reel/picker-navigator.js index 428e7bab..3d99ae4d 100644 --- a/js/io/ui/file-picker/picker-navigator.reel/picker-navigator.js +++ b/js/io/ui/file-picker/picker-navigator.reel/picker-navigator.js | |||
@@ -861,12 +861,12 @@ var PickerNavigator = exports.PickerNavigator = Montage.create(Component, { | |||
861 | var dataStore = window.sessionStorage; | 861 | var dataStore = window.sessionStorage; |
862 | try { | 862 | try { |
863 | if(this.pickerModel.pickerMode === "write"){ | 863 | if(this.pickerModel.pickerMode === "write"){ |
864 | dataStore.setItem('lastSavedFolderURI',escape(""+this.currentURI)); | 864 | dataStore.setItem('lastSavedFolderURI', encodeURI(""+this.currentURI)); |
865 | } | 865 | } |
866 | else if(this.pickerModel.inFileMode === true){ | 866 | else if(this.pickerModel.inFileMode === true){ |
867 | dataStore.setItem('lastOpenedFolderURI_fileSelection',escape(""+this.currentURI)); | 867 | dataStore.setItem('lastOpenedFolderURI_fileSelection',encodeURI(""+this.currentURI)); |
868 | }else if(this.pickerModel.inFileMode === false){ | 868 | }else if(this.pickerModel.inFileMode === false){ |
869 | dataStore.setItem('lastOpenedFolderURI_folderSelection',escape(""+this.currentURI)); | 869 | dataStore.setItem('lastOpenedFolderURI_folderSelection',encodeURI(""+this.currentURI)); |
870 | } | 870 | } |
871 | } | 871 | } |
872 | catch(e){ | 872 | catch(e){ |