summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_modules.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-01-23 14:57:10 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-01-23 14:57:10 -0800
commita1a3d4f59568dc7de2b309796752a49242fde6f0 (patch)
tree0561c92990363705a5cdfeb4abddcaca150e7c4d /modules/gallery/views/admin_modules.html.php
parentabdeb21ccbb25aee564335dbbfca4a8afaf49384 (diff)
Correct the javascript so it will find the "Continue" button in other languages than english.
Diffstat (limited to 'modules/gallery/views/admin_modules.html.php')
-rw-r--r--modules/gallery/views/admin_modules.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/views/admin_modules.html.php b/modules/gallery/views/admin_modules.html.php
index a021d969..26b2c87c 100644
--- a/modules/gallery/views/admin_modules.html.php
+++ b/modules/gallery/views/admin_modules.html.php
@@ -22,7 +22,7 @@
buttons: {
<?= t("Continue")->for_js() ?>: function() {
$("form", this).submit();
- $(".ui-dialog-buttonpane button:contains(Continue)")
+ $(".ui-dialog-buttonpane button:contains(<?= t("Continue") ?>)")
.attr("disabled", "disabled")
.addClass("ui-state-disabled");
},
@@ -32,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");
}