Loading public/javascript/app/base/views/_ListenRequestError.js +2 −5 Original line number Diff line number Diff line Loading @@ -8,12 +8,9 @@ function( // summary: // Gestiona los errores de los request // description: // Permite gestionar los errores de las peticiónes a la API // Permite gestionar los errores de las peticiones a la API _errorAvailable: function(res) { var error = res.error, status = error.response && error.response.status; _errorAvailable: function(error, status) { if (status === 404) { this._goTo404(); Loading public/javascript/app/designs/externalTextSearchList/main/Worms.js +1 −3 Original line number Diff line number Diff line Loading @@ -186,10 +186,8 @@ define([ return false; }, _errorAvailable: function(res) { _errorAvailable: function(error) { var error = res.error, status = error.response && error.response.status; }, _updateCallback: function(data) { Loading public/javascript/redmic/modules/base/_Store.js +4 −2 Original line number Diff line number Diff line Loading @@ -139,9 +139,11 @@ define([ _subDataError: function(res) { var err = res.error; var data = res.error, error = data.error, status = data.status; this._errorAvailable(err); this._errorAvailable(error, status); this._tryToEmitEvt('LOADED'); }, Loading public/javascript/redmic/modules/map/Atlas.js +2 −3 Original line number Diff line number Diff line Loading @@ -453,10 +453,9 @@ define([ return false; }, _errorAvailable: function(response) { _errorAvailable: function(error) { var error = response.error.response, patt = new RegExp('_selection'); var patt = new RegExp('_selection'); if (!error || !error.url || !patt.test(error.url)) { return; Loading public/javascript/redmic/modules/map/layer/MapLayer.js +3 −3 Original line number Diff line number Diff line Loading @@ -220,7 +220,7 @@ define([ this._resolveLoadedByErrorData(); }, _errorAvailable: function(response) { _errorAvailable: function(error) { this._errorData++; }, Loading Loading
public/javascript/app/base/views/_ListenRequestError.js +2 −5 Original line number Diff line number Diff line Loading @@ -8,12 +8,9 @@ function( // summary: // Gestiona los errores de los request // description: // Permite gestionar los errores de las peticiónes a la API // Permite gestionar los errores de las peticiones a la API _errorAvailable: function(res) { var error = res.error, status = error.response && error.response.status; _errorAvailable: function(error, status) { if (status === 404) { this._goTo404(); Loading
public/javascript/app/designs/externalTextSearchList/main/Worms.js +1 −3 Original line number Diff line number Diff line Loading @@ -186,10 +186,8 @@ define([ return false; }, _errorAvailable: function(res) { _errorAvailable: function(error) { var error = res.error, status = error.response && error.response.status; }, _updateCallback: function(data) { Loading
public/javascript/redmic/modules/base/_Store.js +4 −2 Original line number Diff line number Diff line Loading @@ -139,9 +139,11 @@ define([ _subDataError: function(res) { var err = res.error; var data = res.error, error = data.error, status = data.status; this._errorAvailable(err); this._errorAvailable(error, status); this._tryToEmitEvt('LOADED'); }, Loading
public/javascript/redmic/modules/map/Atlas.js +2 −3 Original line number Diff line number Diff line Loading @@ -453,10 +453,9 @@ define([ return false; }, _errorAvailable: function(response) { _errorAvailable: function(error) { var error = response.error.response, patt = new RegExp('_selection'); var patt = new RegExp('_selection'); if (!error || !error.url || !patt.test(error.url)) { return; Loading
public/javascript/redmic/modules/map/layer/MapLayer.js +3 −3 Original line number Diff line number Diff line Loading @@ -220,7 +220,7 @@ define([ this._resolveLoadedByErrorData(); }, _errorAvailable: function(response) { _errorAvailable: function(error) { this._errorData++; }, Loading