mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 08:39:07 +01:00
reverted "no need for RegExp replace", as javascript only replace first occurence, if a string given
This commit is contained in:
parent
78f032e063
commit
6e6b2b7b0a
@ -178,7 +178,7 @@ function refresh_'.$id.'()
|
||||
ajax.sendRequest(true,function(_data) {
|
||||
if (_data.length) {
|
||||
'.$id.'_tail_start = _data.next;
|
||||
var log = $j("#'.$id.'").append(_data.content.replace("<","<"));
|
||||
var log = $j("#'.$id.'").append(_data.content.replace(/</g,"<"));
|
||||
log.animate({ scrollTop: log.prop("scrollHeight") - log.height() + 20 }, 500);
|
||||
}
|
||||
if (_data.size === false)
|
||||
|
Loading…
Reference in New Issue
Block a user