From 148fa81f3c798ba2c01717d7a5db005b0a883c29 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 19 Mar 2015 19:54:58 +0530 Subject: [PATCH] avoid large getEdit call --- static/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index 501adabae..035a4a7df 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -2262,7 +2262,7 @@ pandora.selectList = function() { var id = pandora.user.ui[pandora.user.ui.section.slice(0,-1)], section = Ox.toTitleCase(pandora.user.ui.section.slice(0, -1)); if (id) { - pandora.api['get' + section]({id: id}, function(result) { + pandora.api['get' + section]({id: id, keys: ['id', 'status', 'user']}, function(result) { var folder; if (result.data.id) { folder = result.data.status == 'featured' ? 'featured' : (