web/data/cubicweb.widgets.js
branchtls-sprint
changeset 1419 7ff24154351d
parent 1327 ed2dac034fee
child 1466 07a2d0c387ca
--- a/web/data/cubicweb.widgets.js	Tue Apr 21 19:20:56 2009 +0200
+++ b/web/data/cubicweb.widgets.js	Wed Apr 22 16:50:46 2009 +0200
@@ -277,7 +277,7 @@
 	  this.eid_to = name[1];
           this.etype_to = wdgnode.getAttribute('cubicweb:etype_to');
           this.etype_from = wdgnode.getAttribute('cubicweb:etype_from');
-     	  var d = async_remote_exec('add_and_link_new_entity', this.etype_to, this.rel, this.eid_to, this.etype_from, 'new_val');
+     	  var d = asyncRemoteExec('add_and_link_new_entity', this.etype_to, this.rel, this.eid_to, this.etype_from, 'new_val');
           d.addCallback(function (eid) {
           jQuery(wdgnode).find("option[selected]").removeAttr("selected");
           var new_option = OPTION({'value':eid, 'selected':'selected'}, value=new_val);