fix #1761 (Add tooltip to find element 'All Movies' / 'This List' switch)
This commit is contained in:
parent
ff1d2f291c
commit
8e545206ef
1 changed files with 6 additions and 0 deletions
|
@ -15,10 +15,16 @@ pandora.ui.findElement = function() {
|
||||||
],
|
],
|
||||||
overlap: 'right',
|
overlap: 'right',
|
||||||
type: 'image',
|
type: 'image',
|
||||||
|
tooltip: Ox._('Find: This List'),
|
||||||
value: 'list'
|
value: 'list'
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
change: function(data) {
|
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);
|
pandora.$ui.findInput.focusInput(true);
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue