fixes courses edit dialog
authorPhilipp Schüle <p.schuele@metaways.de>
Wed, 18 Nov 2015 15:45:32 +0000 (16:45 +0100)
committerPhilipp Schüle <p.schuele@metaways.de>
Thu, 19 Nov 2015 08:45:41 +0000 (09:45 +0100)
... by removing old activities widget

Change-Id: I90a421daacc277d68015973dda47b720b82572ca
Reviewed-on: http://gerrit.tine20.com/customers/2387
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
tine20/Courses/js/CourseEditDialog.js

index 2b7bb18..da70bf6 100644 (file)
@@ -46,9 +46,7 @@ Tine.Courses.CourseEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog, {
         
         this.tbarItems = [
             this.action_import,
-            this.action_addNewMember,
-            {xtype: 'widget-activitiesaddbutton'}
-            
+            this.action_addNewMember
         ];
         Tine.Courses.CourseEditDialog.superclass.initComponent.call(this);
     },
@@ -234,13 +232,6 @@ Tine.Courses.CourseEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog, {
                         hideLabel: internetAccessDeactivated,
                         hidden: internetAccessDeactivated
                     })
-//                    {
-//                        hideLabel: true,
-//                        boxLabel: this.app.i18n._('Fileserver Access'),
-//                        name: 'fileserver',
-//                        xtype: 'checkbox',
-//                        columnWidth: 0.5
-//                    }
                     ]]
                 }, {
                     // activities and tags
@@ -255,12 +246,6 @@ Tine.Courses.CourseEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog, {
                     margins: '0 5 0 5',
                     border: true,
                     items: [
-                    new Tine.widgets.activities.ActivitiesPanel({
-                        app: 'Courses',
-                        showAddNoteForm: false,
-                        border: false,
-                        bodyStyle: 'border:1px solid #B5B8C8;'
-                    }),
                     new Tine.widgets.tags.TagPanel({
                         app: 'Courses',
                         border: false,