Commit 38617e46 authored by Sebastian Felsing's avatar Sebastian Felsing

fixed arsnova.css and NewMotdPanel.js

parent 8517aeed
...@@ -27,12 +27,6 @@ Ext.define('ARSnova.view.home.NewMotdPanel', { ...@@ -27,12 +27,6 @@ Ext.define('ARSnova.view.home.NewMotdPanel', {
sessionKey: null, sessionKey: null,
/* items */
sessionIdField: null,
unavailableSessionIds: [],
mycourses: [],
mycoursesStore: null,
/* toolbar items */ /* toolbar items */
toolbar: null, toolbar: null,
backButton: null, backButton: null,
...@@ -49,11 +43,11 @@ Ext.define('ARSnova.view.home.NewMotdPanel', { ...@@ -49,11 +43,11 @@ Ext.define('ARSnova.view.home.NewMotdPanel', {
this.callParent(arguments); this.callParent(arguments);
this.backButton = Ext.create('Ext.Button', { this.backButton = Ext.create('Ext.Button', {
text: Messages.SESSIONS, text: Messages.BACK,
ui: 'back', ui: 'back',
handler: function () { handler: function () {
var hTP = ARSnova.app.mainTabPanel.tabPanel.homeTabPanel; var hTP = ARSnova.app.mainTabPanel.tabPanel.homeTabPanel;
hTP.animateActiveItem(hTP.mySessionsPanel, { hTP.animateActiveItem(hTP.motdPanel, {
type: 'slide', type: 'slide',
direction: 'right', direction: 'right',
duration: 700 duration: 700
...@@ -72,7 +66,7 @@ Ext.define('ARSnova.view.home.NewMotdPanel', { ...@@ -72,7 +66,7 @@ Ext.define('ARSnova.view.home.NewMotdPanel', {
}); });
this.markdownEditPanel = Ext.create('ARSnova.view.MarkDownEditorPanel', { this.markdownEditPanel = Ext.create('ARSnova.view.MarkDownEditorPanel', {
processElement: this.answerText //text processElement: this.textarea //text
}); });
this.subject = Ext.create('Ext.field.Text', { this.subject = Ext.create('Ext.field.Text', {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment