forked from 0x2620/pandora
some bit shuffling that seems to make item views return to lists views with proper selection
This commit is contained in:
parent
b9fb78d395
commit
3b00b384f2
8 changed files with 28 additions and 19 deletions
|
|
@ -56,7 +56,6 @@ pandora.ui.browser = function() {
|
|||
};
|
||||
},
|
||||
items: function(data, callback) {
|
||||
//Ox.print('data, pandora.Query.toObject', data, pandora.Query.toObject())
|
||||
pandora.api.find($.extend(data, {
|
||||
query: pandora.Query.toObject()
|
||||
}), callback);
|
||||
|
|
@ -75,6 +74,7 @@ pandora.ui.browser = function() {
|
|||
that.scrollToSelection();
|
||||
},
|
||||
select: function(event, data) {
|
||||
pandora.UI.set('lists|' + pandora.user.ui.list + '|selected', data.ids);
|
||||
pandora.URL.set(data.ids[0]);
|
||||
},
|
||||
toggle: function(event, data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue