splice error on console (#4669)

This commit is contained in:
Zarrar 2017-12-25 13:37:56 +05:30 committed by Nabin Hait
parent 90c1bb1bfa
commit 60875dfc00

View file

@ -140,7 +140,7 @@ frappe.ui.FilterList = Class.extend({
}
if (i!==undefined) {
// remove index
this.splice(i, 1);
this.filters.splice(i, 1);
}
},