2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +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:
markusbloch 2015-06-14 10:01:11 +00:00
parent 7aa646f466
commit 280e8d518b

View File

@ -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;
}