diff options
author | Robin <robin@Amaya.(none)> | 2010-04-25 15:18:00 +0200 |
---|---|---|
committer | Robin <robin@Amaya.(none)> | 2010-04-25 15:18:00 +0200 |
commit | 4eddb7b2d3bbadbb1488d8ac2928c87afb331f8d (patch) | |
tree | 394bf73ee59142630533af675e16d2b48a249b21 /js | |
parent | afc0ef420b58b92e38ea600c2eac972ed132fbac (diff) | |
download | nextcloud-server-4eddb7b2d3bbadbb1488d8ac2928c87afb331f8d.tar.gz nextcloud-server-4eddb7b2d3bbadbb1488d8ac2928c87afb331f8d.zip |
small bugfix when creatring new files/folders
Diffstat (limited to 'js')
-rw-r--r-- | js/lib_files.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/lib_files.js b/js/lib_files.js index f60b399746d..d1480e36637 100644 --- a/js/lib_files.js +++ b/js/lib_files.js @@ -236,8 +236,9 @@ OC_FILES.new_callback=function(req,file){ OC_FILES.cache.files[file.name]=OC_FILES.cache.incomplete[file.dir][file.name]; delete OC_FILES.cache.incomplete[file.dir][file.name]; OC_FILES.cache.files[file.name]['type']=file.type; - OC_FILES.browser.files.remove(name); - OC_FILES.browser.show(OC_FILES.dir); + OC_FILES.browser.files.remove(file.name); +// OC_FILES.browser.files.add(name); + OC_FILES.browser.show(OC_FILES.dir,true); } OC_FILES.move=function(source,target,sourceDir,targetDir){ |