web/data/cubicweb.ajax.js
branchtls-sprint
changeset 1320 c85f4d8eff8b
parent 1263 01152fffd593
child 1407 75863d3ffd9b
--- a/web/data/cubicweb.ajax.js	Thu Apr 09 14:31:48 2009 +0200
+++ b/web/data/cubicweb.ajax.js	Thu Apr 09 14:32:18 2009 +0200
@@ -58,8 +58,6 @@
 	callback = data.callback;
 	delete data.callback;
     }
-    var node = this.get(0); // only consider the first element
-    ajax = jQuery.post;
     ajax(url, data, function(response) {
 	var domnode = getDomFromResponse(response);
 	if (mode == 'swap') {