mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
use et2_obj.submit to toggle Editor; CKEditor prefs are lost then
This commit is contained in:
parent
4629785782
commit
4c6a249d40
@ -1246,7 +1246,7 @@ app.mail = AppJS.extend(
|
||||
},
|
||||
|
||||
vfsUploadForImport: function(_egw, _widget, _window) {
|
||||
console.log(_egw, _widget, _window);
|
||||
//console.log(_egw, _widget, _window);
|
||||
if (!jQuery.isEmptyObject(_widget.getValue()))
|
||||
{
|
||||
this.et2_obj.submit();
|
||||
@ -1255,7 +1255,15 @@ app.mail = AppJS.extend(
|
||||
|
||||
vfsUploadForCompose: function(_egw, _widget, _window)
|
||||
{
|
||||
console.log(_egw, _widget, _window);
|
||||
//console.log(_egw, _widget, _window);
|
||||
if (!jQuery.isEmptyObject(_widget.getValue()))
|
||||
{
|
||||
this.et2_obj.submit();
|
||||
}
|
||||
},
|
||||
|
||||
submitOnChange: function(_egw, _widget, _window) {
|
||||
//console.log(_egw, _widget, _window);
|
||||
if (!jQuery.isEmptyObject(_widget.getValue()))
|
||||
{
|
||||
this.et2_obj.submit();
|
||||
|
@ -58,7 +58,7 @@
|
||||
</menulist>
|
||||
<description value="Editor type"/>
|
||||
<menulist>
|
||||
<menupopup id="mimeType" onchange="1"/>
|
||||
<menupopup id="mimeType" onchange="app.mail.submitOnChange"/>
|
||||
</menulist>
|
||||
</groupbox>
|
||||
<groupbox class="et2_file mailUploadSection">
|
||||
|
Loading…
Reference in New Issue
Block a user