diff --git a/pyweb/mumble/media/js/channelviewerplugins.js b/pyweb/mumble/media/js/channelviewerplugins.js index 7e77fdd..6c674bd 100644 --- a/pyweb/mumble/media/js/channelviewerplugins.js +++ b/pyweb/mumble/media/js/channelviewerplugins.js @@ -25,8 +25,16 @@ Ext.ux.MumbleUserEditor = Ext.extend( Ext.Component, { activeTab: 0, border: false, items: [{ - html: userdata.comment || gettext("No user comment set"), + xtype: "form", + border: false, title: gettext("User comment"), + items: [{ + xtype: "htmleditor", + fieldLabel: 'x', + hideLabel: true, + name: "comment", + value: userdata.comment, + }], }, { title: gettext("Avatar"), html: '', @@ -111,8 +119,17 @@ Ext.ux.MumbleChannelEditor = Ext.extend( Ext.Component, { xtype: "tabpanel", activeTab: 0, items: [{ - html: chandata.description || gettext("No channel description set"), + xtype: "form", + border: false, title: gettext("Channel description"), + defaults: { "anchor": "-20px" }, + items: [{ + xtype: "htmleditor", + fieldLabel: 'x', + hideLabel: true, + name: "description", + value: chandata.description, + }], }], }], width: 500,