rename create() js errorHandler function to errorHandlerCreateDOM()
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user