fix a bug where after clicking find on home screen, the URL would remain /home
This commit is contained in:
parent
e965ae21c2
commit
e86d25fd55
1 changed files with 8 additions and 5 deletions
|
@ -110,11 +110,14 @@ pandora.ui.home = function() {
|
|||
pandora.$ui.findSelect.value('*');
|
||||
pandora.$ui.findInput.value(value);
|
||||
that.fadeOutScreen();
|
||||
pandora.UI.set('find', {
|
||||
pandora.UI.set({
|
||||
page: '',
|
||||
find: {
|
||||
conditions: value === ''
|
||||
? []
|
||||
: [{key: '*', value: value, operator: '='}],
|
||||
operator: '&'
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue