Skip to content

Commit

Permalink
Make sure the reply-all template is requested consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
BjarniRunar committed Jul 1, 2015
1 parent 1d47b73 commit 0794773
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions mailpile/www/default/html/jsapi/message/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,12 @@ Mailpile.Message.ShowPlain = function(mid) {
/* Message - */
$(document).on('click', '.message-action-reply', function() {
var mid = $(this).data('mid');
Mailpile.API.message_reply_post({mid: mid, _output: 'composer.jhtml'}, function(result) {

Mailpile.API.message_reply_post({
mid: mid,
reply_all: 'True',
_output: 'composer.jhtml'
},
function(result) {
$('#message-' + mid).append(result.result);
var new_mid = $('#message-' + mid).find('.form-compose').data('mid');
$('#compose-details-' + new_mid).hide();
Expand Down

0 comments on commit 0794773

Please sign in to comment.