Fix wrong styling in egw_tail log

This commit is contained in:
Hadi Nategh 2014-01-28 08:33:28 +00:00
parent ad57c7ee86
commit fbccbb87a3
2 changed files with 4 additions and 4 deletions

View File

@ -164,7 +164,7 @@ class egw_tail
<div style="float: right; margin: 2px; margin-right: 5px">
'.html::form(
html::input('clear_log',lang('Clear window'),'button','id="clear_log"')."\n".
html::input('delete_log',lang('Delete file'),'button','id="delete_log"')."\n".
html::input('delete_log',lang('Delete file'),'button','id="purge_log"')."\n".
html::input('empty_log',lang('Empty file'),'button','id="empty_log"')."\n".
html::input('download_log',lang('Download'),'submit','id="download_log"'),
'','/index.php',array(

View File

@ -48,12 +48,12 @@ $j(function(){
}
if (_data.writable === false)
{
$j("#delete_log").hide();
$j("#purge_log").hide();
$j("#empty_log").hide();
}
else
{
$j("#delete_log").show();
$j("#purge_log").show();
$j("#empty_log").show();
}
window.setTimeout(refresh_log,_data.length?200:2000);
@ -66,7 +66,7 @@ $j(function(){
jQuery('input[id^="clear_log"]').on('click',function(){
button_log(this.getAttribute('id'));
});
jQuery('input[id^="delete_log"]').on('click',function(){
jQuery('input[id^="purge_log"]').on('click',function(){
button_log(this.getAttribute('id'));
});
jQuery('input[id^="empty_log"]').on('click',function(){