show list on click, fixes #3031
This commit is contained in:
parent
77810b49d6
commit
38341a43c6
2 changed files with 47 additions and 36 deletions
|
|
@ -21,12 +21,14 @@ pandora.ui.allItems = function(section) {
|
|||
click: function() {
|
||||
that.gainFocus();
|
||||
if (section == 'items') {
|
||||
pandora.user.ui._list && pandora.UI.set({
|
||||
find: {conditions: [], operator: '&'}
|
||||
pandora.UI.set({
|
||||
find: {conditions: [], operator: '&'},
|
||||
item: ''
|
||||
});
|
||||
} else if (section == 'documents') {
|
||||
pandora.user.ui._collection && pandora.UI.set({
|
||||
findDocuments: {conditions: [], operator: '&'}
|
||||
pandora.UI.set({
|
||||
findDocuments: {conditions: [], operator: '&'},
|
||||
document: ''
|
||||
});
|
||||
} else {
|
||||
pandora.UI.set(section.slice(0, -1), '');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue