diff options
Diffstat (limited to 'js/src/table/find_replace.js')
-rw-r--r-- | js/src/table/find_replace.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/table/find_replace.js b/js/src/table/find_replace.js index 51895c0e5a..bdf62a7578 100644 --- a/js/src/table/find_replace.js +++ b/js/src/table/find_replace.js @@ -15,14 +15,14 @@ window.AJAX.registerOnload('table/find_replace.js', function () { .hide(); $('#toggle_find') - .html(Messages.strHideFindNReplaceCriteria) + .html(window.Messages.strHideFindNReplaceCriteria) .on('click', function () { var $link = $(this); $('#find_replace_form').slideToggle(); - if ($link.text() === Messages.strHideFindNReplaceCriteria) { - $link.text(Messages.strShowFindNReplaceCriteria); + if ($link.text() === window.Messages.strHideFindNReplaceCriteria) { + $link.text(window.Messages.strShowFindNReplaceCriteria); } else { - $link.text(Messages.strHideFindNReplaceCriteria); + $link.text(window.Messages.strHideFindNReplaceCriteria); } return false; }); |