forked from extern/egroupware
no need for RegExp replace
This commit is contained in:
parent
58949008f9
commit
8242d40d1e
@ -178,7 +178,7 @@ function refresh_'.$id.'()
|
|||||||
ajax.sendRequest(true,function(_data) {
|
ajax.sendRequest(true,function(_data) {
|
||||||
if (_data.length) {
|
if (_data.length) {
|
||||||
'.$id.'_tail_start = _data.next;
|
'.$id.'_tail_start = _data.next;
|
||||||
var log = $j("#'.$id.'").append(_data.content.replace(/</g,"<"));
|
var log = $j("#'.$id.'").append(_data.content.replace("<","<"));
|
||||||
log.animate({ scrollTop: log.prop("scrollHeight") - log.height() + 20 }, 500);
|
log.animate({ scrollTop: log.prop("scrollHeight") - log.height() + 20 }, 500);
|
||||||
}
|
}
|
||||||
if (_data.size === false)
|
if (_data.size === false)
|
||||||
|
Loading…
Reference in New Issue
Block a user