mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +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':
|
case 'mail.compose':
|
||||||
var that = this;
|
var that = this;
|
||||||
this.mail_isMainWindow = false;
|
this.mail_isMainWindow = false;
|
||||||
this.compose_fieldExpander_hide();
|
this.compose_fieldExpander_init();
|
||||||
|
|
||||||
// Set autosaving interval to 2 minutes for compose message
|
// Set autosaving interval to 2 minutes for compose message
|
||||||
window.setInterval(function (){
|
window.setInterval(function (){
|
||||||
@ -200,7 +200,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
/* Control focus actions on subject to handle expanders properly.*/
|
/* Control focus actions on subject to handle expanders properly.*/
|
||||||
jQuery("#mail-compose_subject").on({
|
jQuery("#mail-compose_subject").on({
|
||||||
focus:function(){
|
focus:function(){
|
||||||
that.compose_fieldExpander_hide();
|
that.compose_fieldExpander_init();
|
||||||
that.compose_fieldExpander();
|
that.compose_fieldExpander();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -581,6 +581,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
if (content['cc'] || content['bcc'])
|
if (content['cc'] || content['bcc'])
|
||||||
{
|
{
|
||||||
this.compose_fieldExpander();
|
this.compose_fieldExpander();
|
||||||
|
this.compose_fieldExpander_init();
|
||||||
}
|
}
|
||||||
return success;
|
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
|
* - Only fields which have no content should get hidden
|
||||||
*/
|
*/
|
||||||
compose_fieldExpander_hide: function ()
|
compose_fieldExpander_init: function ()
|
||||||
{
|
{
|
||||||
var widgets = {
|
var widgets = {
|
||||||
cc:{
|
cc:{
|
||||||
|
Loading…
Reference in New Issue
Block a user