diff --git a/pandora/config.0xdb.jsonc b/pandora/config.0xdb.jsonc index f7f91cf9..4d218bf0 100644 --- a/pandora/config.0xdb.jsonc +++ b/pandora/config.0xdb.jsonc @@ -1204,7 +1204,6 @@ "newsletter": true, "ui": { "annotationsCalendarSize": 128, - "annotationsHighlight": "none", "annotationsMapSize": 128, "annotationsRange": "all", "annotationsSize": 256, diff --git a/pandora/config.indiancinema.jsonc b/pandora/config.indiancinema.jsonc index 8f1a9e69..3a70ba6c 100644 --- a/pandora/config.indiancinema.jsonc +++ b/pandora/config.indiancinema.jsonc @@ -1670,7 +1670,6 @@ "newsletter": true, "ui": { "annotationsCalendarSize": 128, - "annotationsHighlight": "none", "annotationsMapSize": 128, "annotationsRange": "all", "annotationsSize": 256, diff --git a/pandora/config.padma.jsonc b/pandora/config.padma.jsonc index e2f75a3a..42f5dba3 100644 --- a/pandora/config.padma.jsonc +++ b/pandora/config.padma.jsonc @@ -1148,7 +1148,6 @@ "level": "guest", "ui": { "annotationsCalendarSize": 128, - "annotationsHighlight": "none", "annotationsHighlight": false, "annotationsMapSize": 128, "annotationsRange": "position", diff --git a/static/js/folderList.js b/static/js/folderList.js index 15ae6b65..fa4bd717 100644 --- a/static/js/folderList.js +++ b/static/js/folderList.js @@ -155,11 +155,6 @@ pandora.ui.folderList = function(id, section) { {key: 'status', value: 'featured', operator: '='} ], operator: '&'}; } - var _updateItemsCount = false; - if (data.keys && Ox.contains(data.keys, 'items')) { - data.keys = data.keys.filter(function(key) { return key != 'items' }) - _updateItemsCount = true; - } return pandora.api['find' + folderItems](Ox.extend(data, { query: query }), function(result) { @@ -167,13 +162,6 @@ pandora.ui.folderList = function(id, section) { pandora.$ui.mainMenu.updateLists(id, result.data.items); } callback(result); - if (result.data.items.length && _updateItemsCount) { - setTimeout(function() { - updateItemsCount(result.data.items.map(function(item) { - return item.id; - })); - }, 500) - } }); }; } else { @@ -463,21 +451,5 @@ pandora.ui.folderList = function(id, section) { } } - function updateItemsCount(ids) { - Ox.serialForEach(ids, function(item, index, items, callback) { - pandora.api['find' + folderItems]({ - keys: ['items'], - query: { - conditions: [{key: 'id', value: item, operator: '=='}] - }, - range: [0, 1] - }, function(result) { - that.value(item, 'items', result.data.items[0].items); - callback(); - }) - }) - - } - return that; };