diff options
author | Pushkar Joshi | 2012-03-06 17:05:05 -0800 |
---|---|---|
committer | Pushkar Joshi | 2012-03-06 17:05:05 -0800 |
commit | 794abd077a0cd4c797d3f566281deca77b184bfe (patch) | |
tree | 3bf4a83ca714def2671fe8cef93db859b0d5553f /js/io | |
parent | c155cd238b6f9e0b8191e0fc533f7bc974b762c2 (diff) | |
parent | 2e3943a8f751ec572066f168b58464c24b9f29e5 (diff) | |
download | ninja-794abd077a0cd4c797d3f566281deca77b184bfe.tar.gz |
Merge branch 'master' into pentool
Diffstat (limited to 'js/io')
-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){ |