However, it appears the safe_merge function in utils.js won't override keys that already exist in the target object, even though the parameters on the calling function, html_tag_params = function(params, override) seem to indicate that they should in fact, override.
Is there any reason we can't drop the check that prevents the overrides?
if (!merge_with.hasOwnProperty(key) || key in merge_what) continue;
I'm attempting to override the 'id' attribute of a form input field like so:
However, it appears the
safe_merge
function in utils.js won't override keys that already exist in the target object, even though the parameters on the calling function,html_tag_params = function(params, override)
seem to indicate that they should in fact, override.Is there any reason we can't drop the check that prevents the overrides?
to