mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 12:41:10 +01:00
Fix switching between HTML/PLAIN is not working on mail compose
This commit is contained in:
parent
2437553215
commit
9afa8acaae
@ -2944,14 +2944,22 @@ app.classes.mail = AppJS.extend(
|
||||
*
|
||||
* @param {egw object} _egw
|
||||
* @param {widget object} _widget
|
||||
* @param {window object} _window
|
||||
*/
|
||||
submitOnChange: function(_egw, _widget, _window) {
|
||||
submitOnChange: function(_egw, _widget)
|
||||
{
|
||||
if (!jQuery.isEmptyObject(_widget))
|
||||
{
|
||||
if (!jQuery.isEmptyObject(_widget.getValue()))
|
||||
if (typeof _widget.id !== 'undefined') var widgetId = _widget.id;
|
||||
switch (widgetId)
|
||||
{
|
||||
this.et2_obj.submit();
|
||||
case 'mimeType':
|
||||
this.et2_obj.submit();
|
||||
break;
|
||||
default:
|
||||
if (!jQuery.isEmptyObject(_widget.getValue()))
|
||||
{
|
||||
this.et2_obj.submit();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user