mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
fhemweb_fbcalllist.js: fixing not proper list update with more than 10 rows
git-svn-id: https://svn.fhem.de/fhem/trunk@8742 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7aa646f466
commit
280e8d518b
@ -31,7 +31,7 @@ function FW_processCallListUpdate(data)
|
||||
if(/^max-lines/.test(data))
|
||||
{
|
||||
var tmp = data.split(",");
|
||||
table.find("tr[number]").filter(function(index,obj) {return ($(obj).attr("number") > tmp[1]);}).remove();
|
||||
table.find("tr[number]").filter(function(index,obj) {return (parseInt($(obj).attr("number")) > parseInt(tmp[1]));}).remove();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user