From e7de25434206a4849a7c7315d4d9926325c7b730 Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Sun, 1 Jan 2012 01:14:00 +0000 Subject: [PATCH] Fix missing ; --- files/js/files.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.39.5