Fix UTF8 in base64 decode

(cherry picked from commit 557e082696)
This commit is contained in:
Steve Beaver 2017-04-10 12:52:56 -04:00
parent ee1e73d096
commit 98ba645aeb

View File

@ -271,7 +271,7 @@ print_callout(gettext("The capabilities offered here can be dangerous. No suppor
if (values.shift() == "0") {
var file = values.shift();
var fileContent = window.atob(values.join("|"));
var fileContent = window.Base64.decode(values.join("|"));
$("#fileContent").val(fileContent);
} else {