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.findSelect.value('*');
|
||||||
pandora.$ui.findInput.value(value);
|
pandora.$ui.findInput.value(value);
|
||||||
that.fadeOutScreen();
|
that.fadeOutScreen();
|
||||||
pandora.UI.set('find', {
|
pandora.UI.set({
|
||||||
conditions: value === ''
|
page: '',
|
||||||
? []
|
find: {
|
||||||
: [{key: '*', value: value, operator: '='}],
|
conditions: value === ''
|
||||||
operator: '&'
|
? []
|
||||||
|
: [{key: '*', value: value, operator: '='}],
|
||||||
|
operator: '&'
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue