in list/grid/timelines/clips view, immediaterly return request data from items function (we want to pass user.ui.find a.k.a. query with the list's init event)

This commit is contained in:
rolux 2013-02-16 15:00:23 +05:30
parent d520582f00
commit 8ee58da2d6

View file

@ -85,6 +85,7 @@ pandora.ui.list = function() {
pandora.api.find(Ox.extend(data, {
query: pandora.user.ui.find
}), callback);
return Ox.clone(data, true);
},
scrollbarVisible: true,
selected: pandora.user.ui.listSelection,
@ -159,6 +160,7 @@ pandora.ui.list = function() {
pandora.api.find(Ox.extend(data, {
query: pandora.user.ui.find
}), callback);
return Ox.clone(data, true);
},
keys: ['director', 'id', 'posterRatio', 'title', 'year'],
selected: pandora.user.ui.listSelection,
@ -229,6 +231,7 @@ pandora.ui.list = function() {
keys: []
}
}), callback);
return Ox.clone(data, true);
},
keys: ['clips', 'director', 'duration', 'id', 'posterRatio', 'title', 'videoRatio', 'year'],
selected: pandora.user.ui.listSelection,
@ -341,6 +344,7 @@ pandora.ui.list = function() {
items: 1000000,
keys: []
}} : {})), callback);
return Ox.clone(data, true);
},
keys: ['clips', 'director', 'duration', 'id', 'posterRatio', 'rendered', 'title', 'year'],
selected: pandora.user.ui.listSelection,