mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Fix switching between HTML/PLAIN is not working on mail compose
This commit is contained in:
parent
589d2c9dae
commit
bcedbb950e
@ -3012,14 +3012,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