Written by quicksketch: http://drupal.org/node/181741#comment-612849
The progress bar indicator is the main component of this patch. Since modules utilizing AHAH will need different approaches, we need to accommodate for all scenarios. Sample displays attached. Here are some code examples of how you would customize the progress bar used with AHAH to your liking:
Example 1. Throbber (default).
<?php
$form['element']['#ahah'] = array(
'path' => 'some/path/js',
'wrapper' => 'wrapper-id',
'progress' => 'throbber', // Optional line, throbber is default.
),
?>
Example 2. Throbber with message.
<?php
$form['element']['#ahah'] = array(
'path' => 'some/path/js',
'wrapper' => 'wrapper-id',
'progress' => array('type' => 'throbber', 'message' => t('Please wait...')), // Value is an array if multiple settings are set.
),
?>
Example 3. Progress bar.
<?php
$form['element']['#ahah'] = array(
'path' => 'some/path/js',?>
1 week 3 hours ago
2 weeks 5 days ago
7 weeks 3 days ago
7 weeks 3 days ago
7 weeks 3 days ago
9 weeks 3 days ago
10 weeks 3 days ago
11 weeks 3 days ago
12 weeks 9 hours ago
12 weeks 18 hours ago