summaryrefslogtreecommitdiffstats
path: root/files/js/fileactions.js
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-09-28 22:20:26 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-09-28 22:21:06 +0200
commit1639a1ca49aef77cb1b58364fb928a63fa4a99a0 (patch)
treed0e54590554533113ffba44c818a1def6e5c674a /files/js/fileactions.js
parentc39c6d36df259980a1f804b4c4cc384640b8cf55 (diff)
downloadnextcloud-server-1639a1ca49aef77cb1b58364fb928a63fa4a99a0.tar.gz
nextcloud-server-1639a1ca49aef77cb1b58364fb928a63fa4a99a0.zip
fix persistent playlist for media player
Diffstat (limited to 'files/js/fileactions.js')
-rw-r--r--files/js/fileactions.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/files/js/fileactions.js b/files/js/fileactions.js
index 4ff8562fef3..ddb16ecd5fd 100644
--- a/files/js/fileactions.js
+++ b/files/js/fileactions.js
@@ -53,7 +53,7 @@ FileActions={
},
display:function(parent){
FileActions.currentFile=parent;
- $('.action').remove();
+ $('#fileList .action').remove();
var actions=FileActions.get(FileActions.getCurrentMimeType(),FileActions.getCurrentType());
var file=FileActions.getCurrentFile();
if($('tr[data-file="'+file+'"]').data('renaming')){
@@ -104,12 +104,12 @@ FileActions={
});
parent.parent().children().last().append(element);
}
- $('.action').hide();
- $('.action').fadeIn(200);
+ $('#fileList .action').hide();
+ $('#fileList .action').fadeIn(200);
return false;
},
hide:function(){
- $('.action').fadeOut(200,function(){
+ $('#fileList .action').fadeOut(200,function(){
$(this).remove();
});
},