Fix the regular expresion to get the right key for nested Ids using [], textbox_widget

This commit is contained in:
Hadi Nategh 2013-10-01 15:06:56 +00:00
parent 18285429e9
commit 2445bfc22b

View File

@ -161,7 +161,7 @@ var et2_arrayMgr = Class.extend(
{
if(typeof _key === "string")
{
_key = _key.replace("[","[").replace("]","]");
_key = _key.replace(/[/g,"[").replace(/]/g,"]");
indexes = _key.split('[');
}
if (indexes.length > 1)