diff --git a/static/js/findElement.js b/static/js/findElement.js index 7bb4cda9..781e529a 100644 --- a/static/js/findElement.js +++ b/static/js/findElement.js @@ -15,10 +15,16 @@ pandora.ui.findElement = function() { ], overlap: 'right', type: 'image', + tooltip: Ox._('Find: This List'), value: 'list' }) .bindEvent({ change: function(data) { + pandora.$ui.findListSelect.options({ + tooltip: data.value == 'all' + ? Ox._('Find: All {0}', [Ox._(pandora.site.itemName.plural)]) + : Ox._('Find: This List') + }); pandora.$ui.findInput.focusInput(true); } }),