reverted r47030 as it breaks server-side nextmatch actions

nextmatch values were in root instead of namespaced "nm", causing all serverside actions (eg. move one contact into an other addressbook) to fail, because validation did not find values placed clientside outside valid namespace
This commit is contained in:
Ralf Becker 2014-05-23 16:00:17 +00:00
parent 797143e7e4
commit 30ffb38bd6

View File

@ -688,13 +688,8 @@ etemplate2.prototype.getValues = function(_root)
// Store the value of the widget and reset its dirty flag
if (value !== null)
{
// Namespaced container has its own value, don't put it down one more level
if (_widget.createNamespace)
{
jQuery.extend(_target,value);
}
// Merge, if possible (link widget)
else if(typeof _target[id] == 'object' && typeof value == 'object')
if(typeof _target[id] == 'object' && typeof value == 'object')
{
_target[id] = jQuery.extend({},_target[id],value);
}