summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_modules.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-24 14:57:13 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-24 14:57:13 -0800
commitcc912935731c216a57e4c291548ec503a0c1607e (patch)
tree0ebfdf14a4f8cd183df31cde5be8e3226641d580 /modules/gallery/views/admin_modules.html.php
parent5b84919d6e55a8c43f60cf8b695c3696340d001b (diff)
parenteb32e1052df4da268f01a84b809d756d9c9b85b7 (diff)
Merge branch 'bharat_dev' of git@github.com:gallery/gallery3 into bharat_dev
Diffstat (limited to 'modules/gallery/views/admin_modules.html.php')
-rw-r--r--modules/gallery/views/admin_modules.html.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gallery/views/admin_modules.html.php b/modules/gallery/views/admin_modules.html.php
index 704e7beb..26b2c87c 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(<?= t("Continue") ?>)")
+ .attr("disabled", "disabled")
+ .addClass("ui-state-disabled");
},
<?= t("Cancel")->for_js() ?>: function() {
$(this).dialog("destroy").remove();
@@ -29,7 +32,7 @@
}
});
if (!data.allow_continue) {
- $(".ui-dialog-buttonpane button:contains(Continue)")
+ $(".ui-dialog-buttonpane button:contains(<?= t("Continue") ?>)")
.attr("disabled", "disabled")
.addClass("ui-state-disabled");
}