mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-26 04:52:36 +01:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12849] Fixed possible ReferenceError in core.js.
This commit is contained in:
commit
bc6f92dc15
@ -272,7 +272,7 @@ phpbb.ajaxify = function(options) {
|
||||
* Handler for AJAX errors
|
||||
*/
|
||||
function errorHandler(jqXHR, textStatus, errorThrown) {
|
||||
if (console && console.log) {
|
||||
if (typeof console !== 'undefined' && console.log) {
|
||||
console.log('AJAX error. status: ' + textStatus + ', message: ' + errorThrown);
|
||||
}
|
||||
phpbb.clearLoadingTimeout();
|
||||
|
Loading…
x
Reference in New Issue
Block a user