|
|
|
@ -198,7 +198,7 @@ OC_FILES.rename_callback=function(req,file){ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
OC_FILES.remove=function(dir,file){ |
|
|
|
|
remove=confirm('delete file \''+file+'\'?'); |
|
|
|
|
remove=confirm('Delete file \''+file+'\'?'); |
|
|
|
|
if(remove){ |
|
|
|
|
OC_API.run('delete',{dir:dir,file:file},OC_FILES.remove_callback,file) |
|
|
|
|
OC_FILES.browser.files.remove(file); |
|
|
|
@ -403,4 +403,4 @@ OC_FILES.fileActions.image.show=function(){ |
|
|
|
|
OC_FILES.browser.showImage(this.dir,this.file); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
OC_FILES.fileActions.image['default']=OC_FILES.fileActions.image.show; |
|
|
|
|
OC_FILES.fileActions.image['default']=OC_FILES.fileActions.image.show; |
|
|
|
|