rename emptyfolder to emptycontent

This commit is contained in:
Alessandro Cosentino 2013-08-31 11:25:11 -04:00
parent 4b32d84314
commit b10a646bc8
3 changed files with 8 additions and 8 deletions

View File

@ -147,7 +147,7 @@ var FileList={
$('tr').filterAttr('data-file',name).remove();
FileList.updateFileSummary();
if($('tr[data-file]').length==0){
$('#emptyfolder').show();
$('#emptycontent').show();
}
},
insertElement:function(name,type,element){
@ -177,7 +177,7 @@ var FileList={
}else{
$('#fileList').append(element);
}
$('#emptyfolder').hide();
$('#emptycontent').hide();
FileList.updateFileSummary();
},
loadingDone:function(name, id){

View File

@ -6,7 +6,7 @@
<div id='notification'></div>
<?php if (isset($_['files']) && count($_['files']) === 0 && $_['dirlisting'] === false):?>
<div id="emptyfolder"><?php p($l->t('Nothing in here. Your trash bin is empty!'))?></div>
<div id="emptycontent"><?php p($l->t('Nothing in here. Your trash bin is empty!'))?></div>
<?php endif; ?>
<table id="filestable">