fhemweb_fbcalllist.js: fixing not proper list update with more than 10 rows
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@8742 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -31,7 +31,7 @@ function FW_processCallListUpdate(data)
|
|||||||
if(/^max-lines/.test(data))
|
if(/^max-lines/.test(data))
|
||||||
{
|
{
|
||||||
var tmp = data.split(",");
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user