|
|
|
@ -47,7 +47,8 @@
|
|
|
|
function selectMenuItem(url) {
|
|
|
|
function selectMenuItem(url) {
|
|
|
|
url = url
|
|
|
|
url = url
|
|
|
|
.replace(/\/\d+$/, '')
|
|
|
|
.replace(/\/\d+$/, '')
|
|
|
|
.split('/').slice(0, 3).join('/');
|
|
|
|
.split('/').slice(0, 3).join('/')
|
|
|
|
|
|
|
|
.split('?')[0];
|
|
|
|
|
|
|
|
|
|
|
|
// If index is requested, load the dashboard
|
|
|
|
// If index is requested, load the dashboard
|
|
|
|
if (url === 'admin') {
|
|
|
|
if (url === 'admin') {
|
|
|
|
|