forked from extern/egroupware
fix double load of UI in compose after adding attachments caused by errors in mail app.js compose_resize handler
This commit is contained in:
parent
b01ac97b7e
commit
b8f2902e80
@ -255,7 +255,7 @@ app.classes.mail = AppJS.extend(
|
||||
}
|
||||
else
|
||||
{
|
||||
this.compose_fieldExpander();
|
||||
that.compose_fieldExpander();
|
||||
}
|
||||
});
|
||||
|
||||
@ -3907,6 +3907,7 @@ app.classes.mail = AppJS.extend(
|
||||
// very limited resources and slow proccessor.
|
||||
if (egwIsMobile()) return;
|
||||
|
||||
try {
|
||||
var bodyH = egw_getWindowInnerHeight();
|
||||
var textArea = this.et2.getWidgetById('mail_plaintext');
|
||||
var $headerSec = jQuery('.mailComposeHeaderSection');
|
||||
@ -3950,6 +3951,10 @@ app.classes.mail = AppJS.extend(
|
||||
textArea.set_height(bodySize - 90);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(e) {
|
||||
// ignore errors causing compose to load twice
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user