diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-01-22 12:16:36 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-01-22 12:16:36 -0800 |
commit | 11757831233da528662864e23d89f39bfb908801 (patch) | |
tree | 4cc76b6fe189783703e3354b7344c7f2524b69e4 /modules/gallery/views/admin_modules.html.php | |
parent | ae568b6182544b84067aa099eec494da477d083f (diff) |
Disable the continue button after clicking so it can only clicked once.
Diffstat (limited to 'modules/gallery/views/admin_modules.html.php')
-rw-r--r-- | modules/gallery/views/admin_modules.html.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery/views/admin_modules.html.php b/modules/gallery/views/admin_modules.html.php index 704e7beb..a021d969 100644 --- a/modules/gallery/views/admin_modules.html.php +++ b/modules/gallery/views/admin_modules.html.php @@ -22,6 +22,9 @@ buttons: { <?= t("Continue")->for_js() ?>: function() { $("form", this).submit(); + $(".ui-dialog-buttonpane button:contains(Continue)") + .attr("disabled", "disabled") + .addClass("ui-state-disabled"); }, <?= t("Cancel")->for_js() ?>: function() { $(this).dialog("destroy").remove(); |