Skip to content

Commit

Permalink
Fixed issue #9358: Strange characters in email notifications when usi…
Browse files Browse the repository at this point in the history
…ng Chrome browser
  • Loading branch information
c-schmitz committed Nov 17, 2014
1 parent be3b820 commit 5b64dba
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions scripts/admin/tokens.js
Expand Up @@ -55,8 +55,8 @@ function addSelectedParticipantsToCPDB()
$("#addcpdb").load(postUrl, {
participantid:token},function(){
$(location).attr('href',attMapUrl+'/'+survey_id);
});
}
});
}

/*$(":checked").each(function() {
token.push($(this).attr('name'));
Expand Down Expand Up @@ -333,14 +333,8 @@ $(document).ready(function() {
else
{
$.post(inviteurl, {tokenids: $("#displaytokens").getGridParam("selarrrow").join("|")}, function (data) {
var win=window.open('about:blank');
with(win.document)
{
open();
write(data);
close();
}
});
window.open('data:text/html;charset=utf-8,'+data);
});
}
}
});
Expand All @@ -358,14 +352,8 @@ $(document).ready(function() {
else
{
$.post(remindurl, {tokenids: $("#displaytokens").getGridParam("selarrrow").join("|")}, function (data) {
var win=window.open('about:blank');
with(win.document)
{
open();
write(data);
close();
}
});
window.open('data:text/html;charset=utf-8,'+data);
});
}
}
});
Expand All @@ -391,7 +379,7 @@ $(document).ready(function() {
}
if (bParticipantPanelPermission==true)
{
$("#displaytokens").navSeparatorAdd("#pager",{});
$("#displaytokens").navSeparatorAdd("#pager",{});
$("#displaytokens").navButtonAdd('#pager', {
caption:"",
title:viewParticipantsLink,
Expand Down

0 comments on commit 5b64dba

Please sign in to comment.