diff options
author | Nivesh Rajbhandari | 2012-03-12 16:25:28 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-03-12 16:25:28 -0700 |
commit | 5fb358d9e80a364d5f300d60b7a9fe0f773741e7 (patch) | |
tree | 2c4d5292b19c91697dffb542f369ec9dcb340f77 /js/io | |
parent | 5f9b67be3b8bdb391d021103c6bcee6be2f6cdf4 (diff) | |
parent | 69d90467865a1384725b2301901be2180c5a841f (diff) | |
download | ninja-5fb358d9e80a364d5f300d60b7a9fe0f773741e7.tar.gz |
Merge branch 'refs/heads/ninja-internal' into ToolFixes
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){ |