rem: progress_element.remove(); $(this.element).removeClass('progess-disabled').attr('disabled', false);   if (this.showEffect != 'show') { new_content.hide(); 
add: if (this.progress.element) { $(this.progress.element).remove(); 
context: Drupal.ahah.prototype.success = function (response, status) {  var wrapper = $(this.wrapper);  var form = $(this.element).parents('form');  var progress_element = $(this.progress.element);  // Manually insert HTML into the jQuery object, using $() directly crashes  // Safari with long string lengths. http://dev.jquery.com/ticket/1152  var new_content = $('<div></div>').html(response.data);  // Restore the previous action and target to the form.  form.attr('action', this.form_action);  this.form_target ? form.attr('target', this.form_target) : form.removeAttr('target');  this.form_encattr ? form.attr('target', this.form_encattr) : form.removeAttr('encattr');  // Remove the progress element.  progress_element.remove();  $(this.element).removeClass('progess-disabled').attr('disabled', false);  // Hide the new content before adding to page.  if (this.showEffect != 'show') {    new_content.hide();  }  // Add the new content to the page.  Drupal.freezeHeight();  if (this.method == 'replace') {    wrapper.empty().append(new_content);  }  else {    wrapper[this.method](new_content);  }  // Determine what effect use and what content will receive the effect, then  // show the new content. For browser compatibility, Safari is excluded from  // using effects on table rows.  if ($('.ahah-new-content', new_content).size() > 0 && !($.browser.safari && $("tr.ahah-new-content", new_content).size() > 0)) {    $('.ahah-new-content', new_content).hide();    new_content.show();    $(".ahah-new-content", new_content)[this.showEffect](this.showSpeed);  }  else if (this.showEffect != 'show') {    new_content[this.showEffect](this.showSpeed);  }  // Attach all javascript behaviors to the new content, if it was successfully  // added to the page, this if statement allows #ahah[wrapper] to be optional.  if (new_content.parents('html').length > 0) {    Drupal.attachBehaviors(new_content);  }  Drupal.unfreezeHeight();};
meta: 1288	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1288/212c0484b9ffcd6b2c044f4539477b0d52be905f/ahah.js/clean/misc/ahah.js