fix a bug where submitting find in item view would not lead back to list view
This commit is contained in:
parent
ba10d27359
commit
4eb710fd01
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ pandora.ui.mainPanel = function() {
|
|||
.bindEvent({
|
||||
pandora_find: function() {
|
||||
var previousUI = pandora.UI.getPrevious();
|
||||
if (!pandora.user.ui.item && pandora.user.ui._list == previousUI._list) {
|
||||
if (!previousUI.item && pandora.user.ui._list == previousUI._list) {
|
||||
if (['map', 'calendar'].indexOf(pandora.user.ui.listView) > -1) {
|
||||
pandora.$ui.contentPanel.replaceElement(1,
|
||||
pandora.ui.navigationView(pandora.user.ui.listView)
|
||||
|
|
Loading…
Reference in a new issue