Skip to content

Commit

Permalink
Fixed issue #9485: Reminder/invitation mails are not coded right
Browse files Browse the repository at this point in the history
Dev Third time's a charm
  • Loading branch information
c-schmitz committed May 12, 2015
1 parent a801c93 commit cb13ad0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions scripts/admin/tokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,15 +331,15 @@ $(document).ready(function() {
}
else
{
$.post(inviteurl, {tokenids: $("#displaytokens").getGridParam("selarrrow").join("|")}, function (data) {
var win=window.open();
with(win.document)
{
open();
write(data);
close();
}
});
var newForm = jQuery('<form>', {
'action': inviteurl,
'target': '_blank'
}).append(jQuery('<input>', {
'name': 'tokenids',
'value': $("#displaytokens").getGridParam("selarrrow").join("|"),
'type': 'hidden'
})).appendTo('body');
newForm.submit();
}
}
});
Expand All @@ -363,7 +363,7 @@ $(document).ready(function() {
'name': 'tokenids',
'value': $("#displaytokens").getGridParam("selarrrow").join("|"),
'type': 'hidden'
}));
})).appendTo('body');
newForm.submit();
}
}
Expand Down

0 comments on commit cb13ad0

Please sign in to comment.