Make sure context is the widget when calling setters

This commit is contained in:
Nathan Gray 2013-10-09 17:15:44 +00:00
parent 1e8e86fe23
commit 26f75a241b

View File

@ -729,7 +729,7 @@ function etemplate2_handle_assign(type, res, req)
{
try
{
widget['set_' + res.data.key](res.data.value);
widget['set_' + res.data.key].call(widget,res.data.value);
return true;
}
catch (e)