diff --git a/modules/controller.js b/modules/controller.js index aad467bf6..f567fb003 100644 --- a/modules/controller.js +++ b/modules/controller.js @@ -101,6 +101,8 @@ function getPageData( pageName, oldId ) { }, function () { // Clear on failure pageDataCache[ pageName ][ oldId ] = null; + // Let caller handle the error + return $.Deferred().rejectWith( this, arguments ); } ); return pageDataCache[ pageName ][ oldId ]; }