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',?>
18 hours 43 min ago
18 hours 43 min ago
1 day 21 hours ago
2 days 7 hours ago
2 days 21 hours ago
5 days 21 hours ago
6 days 1 hour ago
1 week 1 day ago
1 week 1 day ago
2 weeks 9 hours ago