diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2010-01-23 14:57:10 -0800 | 
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-01-23 14:57:10 -0800 | 
| commit | a1a3d4f59568dc7de2b309796752a49242fde6f0 (patch) | |
| tree | 0561c92990363705a5cdfeb4abddcaca150e7c4d /modules/gallery | |
| parent | abdeb21ccbb25aee564335dbbfca4a8afaf49384 (diff) | |
Correct the javascript so it will find the "Continue" button in other languages than english.
Diffstat (limited to 'modules/gallery')
| -rw-r--r-- | modules/gallery/views/admin_modules.html.php | 4 | 
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");            } | 
