diff --git a/src/usr/local/www/diag_edit.php b/src/usr/local/www/diag_edit.php index 1770c24399..f0c9136ba2 100644 --- a/src/usr/local/www/diag_edit.php +++ b/src/usr/local/www/diag_edit.php @@ -238,7 +238,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 {