From 00ccd59b3cb7dee9574f29af9cdc4dbe72cfdd16 Mon Sep 17 00:00:00 2001 From: renato <renato@rezo.net> Date: Sat, 21 Oct 2006 18:34:03 +0000 Subject: [PATCH] AjaxSqueezeNode callback receives as second argument the node on which the ajax request was called --- dist/javascript/layer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/javascript/layer.js b/dist/javascript/layer.js index 2274425dad..4d742dc82a 100644 --- a/dist/javascript/layer.js +++ b/dist/javascript/layer.js @@ -294,7 +294,7 @@ function AjaxSqueezeNode(trig, noeud, f) // retour std si pas precise: affecter ce noeud avec ce retour if (!f) callback = function(r) { noeud.innerHTML = r; verifForm(noeud); triggerAjaxLoad(noeud);} - else callback = function(r) { f(r); verifForm(noeud); triggerAjaxLoad(noeud);} + else callback = function(r) { f(r,noeud); verifForm(noeud); triggerAjaxLoad(noeud);} if (typeof(trig) == 'string') { i = trig.split('?'); -- GitLab