Displaying 1 result from an estimated 1 matches for "files_update".
2007 Apr 08
3
Updater and PeriodicUpdater fighting with one another
...orm.
Both fire, and the PeriodicUpdater completes its first pass and waits.
Then it fires again, and never finishes. I can watch it spin in
Firebug, and it doesn''t stop or return a second time until the Updater
does.
Here''s how I have it set now:
var updateForm = $(''files_update'');
if(updateForm){
updateForm.onsubmit = function(){
Element.show(''spinner'');
if($(''progress'')) new Ajax.PeriodicalUpdater(''progress'',
''progress.php'', {asynchronous:true, frequency:30});
new Ajax.Updater('&...