mirror of
https://github.com/SuperBFG7/ympd
synced 2025-01-13 19:00:37 +00:00
Fix: update searchstr on reload
This commit is contained in:
parent
ffb0b72e6e
commit
022a0469d7
@ -260,7 +260,10 @@ function appRoute() {
|
|||||||
doSetFilterLetter('BrowseFilesystemFilter');
|
doSetFilterLetter('BrowseFilesystemFilter');
|
||||||
}
|
}
|
||||||
else if (app.current.app == 'Search') {
|
else if (app.current.app == 'Search') {
|
||||||
document.getElementById('searchstr').focus();
|
var searchstrEl = document.getElementById('searchstr');
|
||||||
|
searchstrEl.focus();
|
||||||
|
if (searchstrEl.value == '' && app.current.search != '')
|
||||||
|
searchstrEl.value = app.current.search;
|
||||||
if (app.last.app != app.current.app) {
|
if (app.last.app != app.current.app) {
|
||||||
if (app.current.search != '')
|
if (app.current.search != '')
|
||||||
document.getElementById('SearchList').getElementsByTagName('tbody')[0].innerHTML=
|
document.getElementById('SearchList').getElementsByTagName('tbody')[0].innerHTML=
|
||||||
|
Loading…
Reference in New Issue
Block a user