Keep type of value as Object, fixes missing nextmatch data

This commit is contained in:
Nathan Gray 2013-02-05 09:53:06 +00:00
parent 77ff3ca385
commit dc5fabfcb4

View File

@ -420,7 +420,7 @@ etemplate2.prototype.getValues = function(_root)
// Merge, if possible (link widget) // Merge, if possible (link widget)
if(typeof _target[id] == 'object' && typeof value == 'object') if(typeof _target[id] == 'object' && typeof value == 'object')
{ {
_target[id] = jQuery.extend([],_target[id],value); _target[id] = jQuery.extend({},_target[id],value);
} }
else else
{ {