rem: var progress_element = $(this.progress.element).addClass('ahah-progress'); $(this.element).addClass('progress-disabled').attr('disabled', true).after(progress_element); 
add:  if (this.progress.type == 'bar') { var progressBar = new Drupal.progressBar('ahah-progress-' + this.element.id, eval(this.progress.update_callback), this.progress.method, eval(this.progress.error_callback)); if (this.progress.message) { progressBar.setProgress(-1, this.progress.message); } if (this.progress.url) { progressBar.startMonitoring(this.progress.url, this.progress.interval || 1500); } this.progress.element = $(progressBar.element).addClass('ahah-progress ahah-progress-bar'); this.progress.object = progressBar; $(this.element).after(this.progress.element); } else if (this.progress.type == 'throbber') { this.progress.element = $('<div class="ahah-progress ahah-progress-throbber"><div class="throbber">&nbsp;</div></div>'); if (this.progress.message) { $('.throbber', this.progress.element).after('<div class="message">' + this.progress.message + '</div>') } $(this.element).after(this.progress.element); } 
context: Drupal.ahah.prototype.beforeSubmit = function (form_values, element, options) {  // Insert progressbar and stretch to take the same space.  this.progress = new Drupal.progressBar('ahah_progress');  this.progress.setProgress(-1, Drupal.t('Please wait...'));  var progress_element = $(this.progress.element).addClass('ahah-progress');  $(this.element).addClass('progress-disabled').attr('disabled', true).after(progress_element);};
meta: 639	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/639/212c0484b9ffcd6b2c044f4539477b0d52be905f/ahah.js/buggy/misc/ahah.js