mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Merge pull request #2731 from callumacrae/ticket/12849-2
[ticket/12849] Fixed possible ReferenceError in core.js. * callumacrae/ticket/12849-2: [ticket/12849] Fixed possible ReferenceError in core.js.
This commit is contained in:
commit
f6039562ea
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ phpbb.ajaxify = function(options) {
|
||||||
* Handler for AJAX errors
|
* Handler for AJAX errors
|
||||||
*/
|
*/
|
||||||
function errorHandler(jqXHR, textStatus, errorThrown) {
|
function errorHandler(jqXHR, textStatus, errorThrown) {
|
||||||
if (console && console.log) {
|
if (typeof console !== 'undefined' && console.log) {
|
||||||
console.log('AJAX error. status: ' + textStatus + ', message: ' + errorThrown);
|
console.log('AJAX error. status: ' + textStatus + ', message: ' + errorThrown);
|
||||||
}
|
}
|
||||||
phpbb.clearLoadingTimeout();
|
phpbb.clearLoadingTimeout();
|
||||||
|
|
Loading…
Add table
Reference in a new issue