aboutsummaryrefslogtreecommitdiff
path: root/js/io
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-03-07 10:32:20 -0800
committerNivesh Rajbhandari2012-03-07 10:32:20 -0800
commitf5b0162a9b148589f0ccc65a0332695ea6fd6be3 (patch)
treee62ae1bc8a14dfa60cca05d40227c13dbfa2746a /js/io
parent443a23289171bb72324e740d8eaa041968a1de99 (diff)
parentcef07085443b7c31e878daaad083b7408c57e104 (diff)
downloadninja-f5b0162a9b148589f0ccc65a0332695ea6fd6be3.tar.gz
Merge branch 'refs/heads/ninja-internal' into WebGLFixes
Diffstat (limited to 'js/io')
-rw-r--r--js/io/ui/file-picker/picker-navigator.reel/picker-navigator.js6
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){