1
0

rename create() js errorHandler function to errorHandlerCreateDOM()

This commit is contained in:
Ian
2014-03-24 15:19:16 +01:00
parent d2e34d3bcf
commit c69932eaae
2 changed files with 2 additions and 2 deletions

View File

@@ -142,7 +142,7 @@ if (!function_exists('errorToExceptionHandler')) {
// while being in tags like <select> to push on top of page, else return non javascript use $str just there
// sadly we can not use HEREDOC notation here, since this does not execute the javascript after finished writing
echo "\n".'<script>
var fragment = window.top.create("Error redirect: '.addslashes($str).'");
var fragment = window.top.errorHandlerCreateDOM("Error redirect: '.addslashes($str).'");
document.body.insertBefore(fragment, document.body.childNodes[0]);
' . "\n</script>\n<noscript>" . $str . "</noscript>\n";
}