on find change, only replace right panel if we're not dealing with a context change, after item edit

This commit is contained in:
rolux 2013-02-11 16:45:47 +05:30
parent 5351cf498d
commit ff08c93714

View file

@ -58,7 +58,11 @@ pandora.ui.mainPanel = function() {
}
});
} else {
that.replaceElement(1, pandora.$ui.rightPanel = pandora.ui.rightPanel());
if (pandora.stayInItemView) {
pandora.stayInItemView = false;
} else {
that.replaceElement(1, pandora.$ui.rightPanel = pandora.ui.rightPanel());
}
}
},
pandora_item: function(data) {