signalpoint / jDrupal

A JavaScript Library and API for Drupal Applications
http://jdrupal.tylerfrankenstein.com/
GNU General Public License v2.0
76 stars 38 forks source link

Properly handle net::ERR_CONNECTION_REFUSED in XHR #51

Closed signalpoint closed 7 years ago

signalpoint commented 7 years ago

If for example Apache were to be stopped on the Drupal site, a subsequent node_load call from jDrupal would result in a JavaScript console error of net::ERR_CONNECTION_REFUSED being "thrown" but not "caught".