aboutsummaryrefslogtreecommitdiffstats
path: root/files/js/fileactions.js
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2011-11-07 17:16:56 +0000
committerTom Needham <needham.thomas@gmail.com>2011-11-07 17:16:56 +0000
commit7a8c762e48ce88c7a4e84fd154551992811f119d (patch)
tree90d1c6d1d54970ad43917f1f4b3d06a5f1d1a74d /files/js/fileactions.js
parentd7a7c40a0f0e6d2a527fd93b7c65d16ff096c783 (diff)
parent452a4637647d6dbd54b275aead765d3a2329813e (diff)
downloadnextcloud-server-7a8c762e48ce88c7a4e84fd154551992811f119d.tar.gz
nextcloud-server-7a8c762e48ce88c7a4e84fd154551992811f119d.zip
Merge branch 'master' of gitorious.org:owncloud/owncloud into ace-editor
Diffstat (limited to 'files/js/fileactions.js')
-rw-r--r--files/js/fileactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/js/fileactions.js b/files/js/fileactions.js
index f95c5e84dc1..9e2688e82c1 100644
--- a/files/js/fileactions.js
+++ b/files/js/fileactions.js
@@ -56,7 +56,7 @@ FileActions={
$('#fileList .action').remove();
var actions=FileActions.get(FileActions.getCurrentMimeType(),FileActions.getCurrentType());
var file=FileActions.getCurrentFile();
- if($('tr[data-file="'+file+'"]').data('renaming')){
+ if($('tr').filterAttr('data-file',file).data('renaming')){
return;
}
var defaultAction=FileActions.getDefault(FileActions.getCurrentMimeType(),FileActions.getCurrentType());