mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix cc, bcc fileds, sent from AB to an open compose dialog, overflow the others
This commit is contained in:
parent
96d9f14d12
commit
fb35fdb8c2
@ -190,7 +190,7 @@ app.classes.mail = AppJS.extend(
|
||||
case 'mail.compose':
|
||||
var that = this;
|
||||
this.mail_isMainWindow = false;
|
||||
this.compose_fieldExpander_hide();
|
||||
this.compose_fieldExpander_init();
|
||||
|
||||
// Set autosaving interval to 2 minutes for compose message
|
||||
window.setInterval(function (){
|
||||
@ -200,7 +200,7 @@ app.classes.mail = AppJS.extend(
|
||||
/* Control focus actions on subject to handle expanders properly.*/
|
||||
jQuery("#mail-compose_subject").on({
|
||||
focus:function(){
|
||||
that.compose_fieldExpander_hide();
|
||||
that.compose_fieldExpander_init();
|
||||
that.compose_fieldExpander();
|
||||
}
|
||||
});
|
||||
@ -581,6 +581,7 @@ app.classes.mail = AppJS.extend(
|
||||
if (content['cc'] || content['bcc'])
|
||||
{
|
||||
this.compose_fieldExpander();
|
||||
this.compose_fieldExpander_init();
|
||||
}
|
||||
return success;
|
||||
},
|
||||
@ -3617,10 +3618,10 @@ app.classes.mail = AppJS.extend(
|
||||
},
|
||||
|
||||
/**
|
||||
* Hide Folder, Cc and Bcc rows from the compose popup
|
||||
* Set expandable fields (Folder, Cc and Bcc) based on their content
|
||||
* - Only fields which have no content should get hidden
|
||||
*/
|
||||
compose_fieldExpander_hide: function ()
|
||||
compose_fieldExpander_init: function ()
|
||||
{
|
||||
var widgets = {
|
||||
cc:{
|
||||
|
Loading…
Reference in New Issue
Block a user