[FIX] web: form rendering: use attr in attach_node_attr

This commit is contained in:
Simon Lejeune
2014-12-30 17:16:54 +01:00
parent 4ecafacbd7
commit a60f1ed8c4
+1 -1
View File
@@ -1612,7 +1612,7 @@ instance.web.form.FormRenderingEngine = instance.web.form.FormRenderingEngineInt
* the processing of the page.
*/
attach_node_attr: function($new_element, $node, attr) {
$new_element.data('autofocus', $node.attr(attr));
$new_element.data(attr, $node.attr(attr));
}
});