summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/css/files.css2
-rw-r--r--files/js/fileactions.js12
2 files changed, 7 insertions, 7 deletions
diff --git a/files/css/files.css b/files/css/files.css
index ef86664cf2d..af860d60b9a 100644
--- a/files/css/files.css
+++ b/files/css/files.css
@@ -60,7 +60,7 @@ table thead.fixed { height:2em; }
#fileList tr.selected td.filename, #fileList tr:hover td.filename { background-image:url('') !important; }
#select_all { float:left; margin:.2em; margin-left:.6em; }
#uploadsize-message,#delete-confirm { display:none; }
-.selectedActions a, a.file_action { float:right; display:inline; margin:0 .5em; padding:.3em .3em 0 .3em !important; }
+.selectedActions a, a.action { float:right; display:inline; margin:0 .5em; padding:.3em .3em 0 .3em !important; }
.selectedActions { display:none; }
/* add breadcrumb divider to the File item in navigation panel */
diff --git a/files/js/fileactions.js b/files/js/fileactions.js
index 2bc79abe723..a0a04ff1662 100644
--- a/files/js/fileactions.js
+++ b/files/js/fileactions.js
@@ -53,7 +53,7 @@ FileActions={
},
display:function(parent){
FileActions.currentFile=parent;
- $('.file_action').remove();
+ $('.action').remove();
var actions=FileActions.get(FileActions.getCurrentMimeType(),FileActions.getCurrentType());
var file=FileActions.getCurrentFile();
if($('tr[data-file="'+file+'"]').data('renaming')){
@@ -66,7 +66,7 @@ FileActions={
if(img.call){
img=img(file);
}
- var html='<a href="#" title="'+name+'" class="file_action"/>';
+ var html='<a href="#" title="'+name+'" class="action" />';
var element=$(html);
if(img){
element.append($('<img src="'+img+'"/>'));
@@ -85,7 +85,7 @@ FileActions={
}
if(actions['Delete']){
var img=FileActions.icons['Delete'];
- var html='<a href="#" title="Delete" class="file_action"/>';
+ var html='<a href="#" title="Delete" class="action" />';
var element=$(html);
if(img){
element.append($('<img src="'+img+'"/>'));
@@ -101,12 +101,12 @@ FileActions={
});
parent.parent().children().last().append(element);
}
- $('.file_action').hide();
- $('.file_action').fadeIn(200);
+ $('.action').hide();
+ $('.action').fadeIn(200);
return false;
},
hide:function(){
- $('.file_action').fadeOut(200,function(){
+ $('.action').fadeOut(200,function(){
$(this).remove();
});
},