diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 23:15:28 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 23:15:28 -0700 |
commit | d3b03026907b63e90d90cda1b9f777e0fbfe29b7 (patch) | |
tree | 436f5db744a621b0a3d3738b7bdfe31e4f820538 /modules/gallery/views/admin_languages.html.php | |
parent | b9bd1681a3b1496c0f1bbe5e6254ab4fd0c9fe30 (diff) |
Minor cleanup
Diffstat (limited to 'modules/gallery/views/admin_languages.html.php')
-rw-r--r-- | modules/gallery/views/admin_languages.html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/views/admin_languages.html.php b/modules/gallery/views/admin_languages.html.php index 052d749b..ae2b3383 100644 --- a/modules/gallery/views/admin_languages.html.php +++ b/modules/gallery/views/admin_languages.html.php @@ -40,7 +40,7 @@ </form> <script type="text/javascript"> - var old_default_locale = "<?= html::escape_for_js($default_locale) ?>"; + var old_default_locale = "<?= html::clean_js($default_locale) ?>"; $("input[name='installed_locales[]']").change(function (event) { if (this.checked) { @@ -57,7 +57,7 @@ dataType: "json", success: function(data) { if (data.result == "success") { - el = $('<a href="<?= html::escape_for_js(url::site("admin/maintenance/start/gallery_task::update_l10n?csrf=$csrf")) ?>"></a>'); // this is a little hack to trigger the update_l10n task in a dialog + el = $('<a href="<?= html::clean_js(url::site("admin/maintenance/start/gallery_task::update_l10n?csrf=$csrf")) ?>"></a>'); // this is a little hack to trigger the update_l10n task in a dialog el.gallery_dialog(); el.trigger('click'); } |