web/data/cubicweb.edition.js
branchtls-sprint
changeset 1314 dc5499bff1a9
parent 1292 18a86192c9c4
child 1419 7ff24154351d
--- a/web/data/cubicweb.edition.js	Thu Apr 09 12:37:00 2009 +0200
+++ b/web/data/cubicweb.edition.js	Thu Apr 09 12:40:30 2009 +0200
@@ -20,10 +20,10 @@
  * @param tabindex the tabindex that should be set on the widget
  */
 function setPropValueWidget(varname, tabindex) {
-    var key = firstSelected(jQuery('#pkey:'+varname));
+    var key = firstSelected(document.getElementById('pkey:'+varname));
     if (key) {
 	var args = _buildRemoteArgs('prop_widget', key, varname, tabindex);
-	jQuery('#div:value:'+varname).loadxhtml(JSON_BASE_URL, args, 'post');
+	jqNode('div:value:'+varname).loadxhtml(JSON_BASE_URL, args, 'post');
     }
 }