update menu

This commit is contained in:
j 2017-02-15 18:13:56 +00:00
parent bd8d62d7ea
commit fde4734cd4

View file

@ -382,6 +382,7 @@ pandora.ui.homeDialog = function() {
( (
status == 'active' ? $inactiveList : $activeList status == 'active' ? $inactiveList : $activeList
).options({selected: []}); ).options({selected: []});
updateMenu(status == 'active' ? 'inactive' : 'active', false);
} }
updateMenu(status, data.ids.length); updateMenu(status, data.ids.length);
if (item || $activeList.options('selected').length + $inactiveList.options('selected').length == 0) { if (item || $activeList.options('selected').length + $inactiveList.options('selected').length == 0) {