fix for acp subpage nav

v1.18.x
psychobunny 10 years ago
parent e04495b012
commit 26858436b6

@ -58,7 +58,9 @@
} }
function selectMenuItem(url) { function selectMenuItem(url) {
url = url.replace(/\/\d+$/, ''); url = url
.replace(/\/\d+$/, '')
.split('/').slice(0, 3).join('/');
// If index is requested, load the dashboard // If index is requested, load the dashboard
if (url === 'admin') { if (url === 'admin') {

Loading…
Cancel
Save