fixed handling of attributes stored in data, was depending on order or attributes to work

This commit is contained in:
Ralf Becker 2013-07-24 10:18:11 +00:00
parent 8ec5425c5a
commit 37671ac812

View File

@ -36,7 +36,9 @@ function egwActionStoreJSON(_data, _obj, _setterOnly)
}
else if (_setterOnly === 'data')
{
_obj.data[key] = _data[key];
if (typeof _data.data == 'undefined') _data.data = {};
_data.data[key] = _data[key];
_obj.set_data(_data.data);
}
}
}