dont add keys to request if no keys are requested, fixed #1567

This commit is contained in:
j 2013-06-04 08:31:42 +00:00
parent d1683bd0ce
commit 1834b6efe1

View file

@ -84,7 +84,7 @@ pandora.ui.list = function() {
//Ox.Log('', 'data, pandora.Query.toObject', data, pandora.Query.toObject())
pandora.api.find(Ox.extend(data, {
query: pandora.user.ui.find,
keys: ['modified'].concat(data.keys)
keys: data.keys ? ['modified'].concat(data.keys) : void 0
}), callback);
return Ox.clone(data, true);
},