mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +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) {
|
vfsUploadForImport: function(_egw, _widget, _window) {
|
||||||
console.log(_egw, _widget, _window);
|
//console.log(_egw, _widget, _window);
|
||||||
if (!jQuery.isEmptyObject(_widget.getValue()))
|
if (!jQuery.isEmptyObject(_widget.getValue()))
|
||||||
{
|
{
|
||||||
this.et2_obj.submit();
|
this.et2_obj.submit();
|
||||||
@ -1255,7 +1255,15 @@ app.mail = AppJS.extend(
|
|||||||
|
|
||||||
vfsUploadForCompose: function(_egw, _widget, _window)
|
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()))
|
if (!jQuery.isEmptyObject(_widget.getValue()))
|
||||||
{
|
{
|
||||||
this.et2_obj.submit();
|
this.et2_obj.submit();
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
</menulist>
|
</menulist>
|
||||||
<description value="Editor type"/>
|
<description value="Editor type"/>
|
||||||
<menulist>
|
<menulist>
|
||||||
<menupopup id="mimeType" onchange="1"/>
|
<menupopup id="mimeType" onchange="app.mail.submitOnChange"/>
|
||||||
</menulist>
|
</menulist>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
<groupbox class="et2_file mailUploadSection">
|
<groupbox class="et2_file mailUploadSection">
|
||||||
|
Loading…
Reference in New Issue
Block a user