Vikram
June 12, 2014, 9:28am
1
We have issue with remove & updateItem method
When we are using below code
var isAlternate=true;
if(isAlternate && $$(“treeId”).exists(‘total’+editedProductId)){
$$(“treeId”).remove(‘total’+editedProductId);
}
flow is coming inside the if block and getting SCRIPT5011: Can’t execute code from a freed script error.
When we are using below code
var isAlternate=true;
if(isAlternate && $$(“treeId”).exists(‘total’+editedProductId)){
try{
$$(“treeId”).remove(‘total’+editedProductId);
}catch(e){
alert(e);
}
}
flow is coming inside the if ,catch block & throw SCRIPT5007: Unable to get property ‘length’ of undefined or null reference error
Please suggest us on this ASAP.It will be great help for us.
Raj
June 12, 2014, 9:53am
2
Hello Maksim,
Even I am also having the same issue and we dont know when this error come and what are the precaution we need to do to handle such kind of issue.
Raj
June 12, 2014, 2:01pm
3
Can any one from the Webix Team, would provide some or atleast few updates on the above concern, we are having a tough time, and we are not able to resolve the issue.
maksim
June 13, 2014, 4:17am
4
It seems that issue is related to the your code and not component itself.
Please open a support ticket if you need a further help.
Raj
June 16, 2014, 1:47am
5
Hello Maksim,
If you want I can share the code also, but as of now we do not have any support contract in place, if you could help us, would be appreciated.