mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 14:55:18 -04:00
Disable the continue button after clicking so it can only clicked once.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user