diff --git a/phpgwapi/inc/class.egw_tail.inc.php b/phpgwapi/inc/class.egw_tail.inc.php
index 604a48fa9c..7cd24cfef0 100644
--- a/phpgwapi/inc/class.egw_tail.inc.php
+++ b/phpgwapi/inc/class.egw_tail.inc.php
@@ -164,7 +164,7 @@ class egw_tail
'.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(
diff --git a/phpgwapi/js/jsapi/egw_tail.js b/phpgwapi/js/jsapi/egw_tail.js
index a3f629c7ca..445a6f0b2e 100644
--- a/phpgwapi/js/jsapi/egw_tail.js
+++ b/phpgwapi/js/jsapi/egw_tail.js
@@ -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(){