Open ANKITSINGH065 opened 1 year ago
handle the 404 exceptions
if (jqxhr.status === 404) { // Ignore 404 exception, because we are handling fallbacks explicitly deferred.resolve(); } else { $.i18n.log( "Error in loading messages from " + url + " Exception: " + exception ); deferred.reject(exception); }
ok
Can you merge my changes
I am not a maintainer.
255 the load function does not fail the promise correctly
handle the 404 exceptions
if (jqxhr.status === 404) { // Ignore 404 exception, because we are handling fallbacks explicitly deferred.resolve(); } else { $.i18n.log( "Error in loading messages from " + url + " Exception: " + exception ); deferred.reject(exception); }