]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix missing ;
authorTom Needham <needham.thomas@gmail.com>
Sun, 1 Jan 2012 01:14:00 +0000 (01:14 +0000)
committerTom Needham <needham.thomas@gmail.com>
Sun, 1 Jan 2012 01:14:00 +0000 (01:14 +0000)
files/js/files.js

index e37eac9bf6a92d8bd4b72cfc13936de396c0aa62..88a07a0776ef4576e0e0e83be9558d54176d4341 100644 (file)
@@ -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);