I have to admit I'm guilty of stealing the JS/throbber for replacing submit/save buttons with a throbber/saving message for half my projects (to prevent duplicate form submissions). I needed it for a D7 project today, so I reformatted the jQuery for Drupal 7 standards (had to add in a couple divs, for the comment form, rename the selector for the user-register-form, and reformat the code to follow D7 JS coding styles.

I will attach the patch against the 7.x-2.x branch in the comment below.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

geerlingguy’s picture

Status: Active » Needs review
FileSize
2.18 KB

Patch attached.

geerlingguy’s picture

Assigned: geerlingguy » Unassigned