diff options
author | Tom Needham <needham.thomas@gmail.com> | 2012-01-01 01:14:00 +0000 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2012-01-01 01:14:00 +0000 |
commit | e7de25434206a4849a7c7315d4d9926325c7b730 (patch) | |
tree | 90e463048e95a3550a2c00da558297c86f253666 /files | |
parent | 06d2a87ee4759f3fc26e0f6b16027080036ba34a (diff) | |
download | nextcloud-server-e7de25434206a4849a7c7315d4d9926325c7b730.tar.gz nextcloud-server-e7de25434206a4849a7c7315d4d9926325c7b730.zip |
Fix missing ;
Diffstat (limited to 'files')
-rw-r--r-- | files/js/files.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/files/js/files.js b/files/js/files.js index e37eac9bf6a..88a07a0776e 100644 --- a/files/js/files.js +++ b/files/js/files.js @@ -70,7 +70,9 @@ $(document).ready(function() { procesSelection(); } else { var filename=$(this).parent().parent().attr('data-file'); - if(!FileList.isLoading(filename)){ + var tr=$('tr').filterAttr('data-file',filename); + var renaming=tr.data('renaming'); + if(!renaming && !FileList.isLoading(filename)){ var mime=$(this).parent().parent().data('mime'); var type=$(this).parent().parent().data('type'); var action=FileActions.getDefault(mime,type); |