improve sonia.navigation

This commit is contained in:
Sebastian Sdorra
2010-12-05 16:27:31 +01:00
parent 2dc419fcaa
commit 5b447ec29c
3 changed files with 23 additions and 2 deletions

View File

@@ -30,7 +30,9 @@
*/
loginCallbacks.push(function(){
if (admin){
Ext.getCmp('navigationPanel').addSection({
var navPanel = Ext.getCmp('navigationPanel');
var count = navPanel.count() - 1;
navPanel.insertSection(count, {
title: 'Development',
items: [{
label: 'Injection Graph',