hi i have a code and i use the ajax.updater, and i use a
ajax.responsers.register, but when i try to unregister this action to
no appear anymor ein the system until when i need call a new one. thi
sis the code
var actuaMEnu=new Ajax.Updater('toolbar', ruta+"/php_files/clases/
Admin/genmenu.php?id="+id+"&subAc="+subAc, { method: 'post'});
var consulta=Ajax.Responders.register({
onCreate: function() {
Ajax.activeRequestCount++;
$('toolbar').hide();
$('overlay').style.display = 'block';
},
onComplete: function() {
Ajax.activeRequestCount--;
$('toolbar').show();
$('overlay').style.display = 'none';
alert("Complete");
}
});
Ajax.Responders.unregister(consulta);
but each time that i declare a new ajax.respondders.register, this
last code still ar ein memory
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---