diff --git a/www/admin/inner.js b/www/admin/inner.js index 3956d7e50..1e3485a9e 100644 --- a/www/admin/inner.js +++ b/www/admin/inner.js @@ -1691,6 +1691,7 @@ define([ if (active.indexOf('-') !== -1) { active = active.split('-')[0]; } + if (!categories[active]) { active = 'general'; } common.setHash(active); Object.keys(categories).forEach(function (key) { var $category = $('
', {'class': 'cp-sidebarlayout-category'}).appendTo($categories);