even more improvements to lists
This commit is contained in:
parent
a3b65cb046
commit
d4141a1e00
7 changed files with 154 additions and 1748 deletions
|
|
@ -68,14 +68,14 @@ function constructList() {
|
|||
if(!data.keys) {
|
||||
app.api.api(function(results) {
|
||||
var items = [];
|
||||
$.each(results.data.actions, function(i, k) {items.push({'name': k})});
|
||||
$.each(results.data.actions, function(i, k) {items.push({'name': i})});
|
||||
var result = {'data': {'items': items.length}};
|
||||
callback(result);
|
||||
});
|
||||
} else {
|
||||
app.api.api(function(results) {
|
||||
var items = [];
|
||||
$.each(results.data.actions, function(i, k) {items.push({'name': k})});
|
||||
$.each(results.data.actions, function(i, k) {items.push({'name': i})});
|
||||
var result = {'data': {'items': items}};
|
||||
callback(result);
|
||||
});
|
||||
|
|
|
|||
1757
static/js/pandora.js
1757
static/js/pandora.js
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue