web/data/cubicweb.compat.js
branchstable
changeset 3096 8ee9529d8367
parent 2537 73c83c14dd2c
child 5186 f3c2cb460ad9
--- a/web/data/cubicweb.compat.js	Wed Sep 02 10:40:16 2009 +0200
+++ b/web/data/cubicweb.compat.js	Wed Sep 02 10:40:43 2009 +0200
@@ -172,7 +172,7 @@
 		}
 		node[key] = value;
 	    } else { // normal node attribute
-		node.setAttribute(key, params[key]);
+		jQuery(node).attr(key, params[key]);
 	    }
 	}
 	if (children) {