Closed rcubetrac closed 18 years ago
Comment by tvkbhaskar on 18 Feb 2006 06:01 UTC
Logged In: YES
user_id=723025
Pls find the changes done in document root/program/js/app.js
which got missed in the previous update
Change 1:
if (this.env.action=='compose')
this.enable_command('add-attachment', 'send-attachment',
'send', true);
// Added the following lines
if (this.env.action=='composeall')
this.enable_command('add-attachment', 'send-attachment',
'send', true);
// end of addition
if (this.env.messagecount)
this.enable_command('select-all', 'select-none', true);
Change 2:
if (this.env.action=='compose')
this.init_messageform();
// Added the following line
if (this.env.action=='composeall')
this.init_messageform();
// End of addition
// show printing dialog
if (this.env.action=='print')
window.print();
Change 3:
case 'compose':
var url = this.env.comm_path+'&_action=compose';
// modify url if we're in addressbook
if (this.task=='addressbook')
{
url = this.get_task_url('mail', url);
var a_cids = new Array();
// use contact_id passed as command parameter
if (props)
a_cids[= props;
// get selected contacts
else
{
for (var n=0; n<this.selection.length; n++)
a_cids[a_cids.length](a_cids.length]) = this.selection[ }
if (a_cids.length)
url += '&_to='+a_cids.join(',');
else
break;
}
else if (props)
url += '&_to='+props;
this.set_busy(true);
location.href = url;
break;
// beginning of addition
case 'composeall':
var url = this.env.comm_path+'&_action=compose';
// modify url if we're in addressbook
if (this.task=='addressbook')
{
url = this.get_task_url('mail', url);
var a_cids = new Array();
// use contact_id passed as command parameter
if (props)
a_cids[a_cids.length](n];
) = props;
// get selected contacts
else
{
for (var n=0; n<this.selection.length; n++)
a_cids[= this.selection[n](a_cids.length]);
}
if (a_cids.length)
url += '&_to='+a_cids.join(',');
else
break;
}
else if (props)
url += '&_to='+props;
this.set_busy(true);
location.href = url;
break;
// end of addition
case 'send':
if (!this.gui_objects.messageform)
break;
Please ignore the below change indicated in the first update
var input_replyto = rcube_find_object('_replyto');
// Below line added - to be ignore
var input_replyall = rcube_find_object('_replyall');
// End of addition - to be ignore
var input_subject = rcube_find_object('_subject');
regards
Comment by @thomascube on 21 Feb 2006 15:51 UTC
Logged In: YES
user_id=1262041
Thanks for your code but reply-all is already availabe in
the CVS version and recently released as 0.1-beta
Status changed by @thomascube on 21 Feb 2006 15:51 UTC
assigned => closed
Reported by tvkbhaskar on 18 Feb 2006 04:31 UTC as Trac ticket #1433998
Migrated-From: http://trac.roundcube.net/ticket/1433998