Commits

Sebastian Sdorra committed 04e9946

fix namespace for Sonia.group.Grid

  • Participants
  • Parent commits dcb9ef0

Comments (0)

Files changed (2)

scm-webapp/src/main/webapp/resources/js/layout.js

     var menu = Ext.get( 'main-menu' );
     var groupsLink = menu.createChild({
       tag: 'li',
-      html: 'Groups'
+      html: 'Groups',
+      style: 'cursor: pointer;'
     });
     groupsLink.on('click', addGroupPanel);
   }

scm-webapp/src/main/webapp/resources/js/sonia.group.js

 
 //groupStore.load();
 
-Sonia.GroupGrid = Ext.extend(Ext.grid.GridPanel, {
+Sonia.group.Grid = Ext.extend(Ext.grid.GridPanel, {
   initComponent: function(){
     var config = {
       store: groupStore,
     groupStore.load();
 
     Ext.apply(this, Ext.apply(this.initialConfig, config));
-    Sonia.GroupGrid.superclass.initComponent.apply(this, arguments);
+    Sonia.group.Grid.superclass.initComponent.apply(this, arguments);
   }
 });
 
-Ext.reg('groupGrid', Sonia.GroupGrid);
+Ext.reg('groupGrid', Sonia.group.Grid);
 
 Sonia.group.AddForm = new Ext.extend(Ext.FormPanel, {