Loading public/javascript/redmic/modules/tree/_LazyLoad.js +4 −10 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ define([ , _Filter , _Store ) { return declare([_Filter, _Store], { constructor: function(args) { Loading Loading @@ -48,19 +49,12 @@ define([ var item = params[0], node = params[1]; if (item && this._allChildrenLoaded(item)) return true; return false; return item && this._allChildrenLoaded(item); }, _dataAvailable: function(response) { if (response.data && response.data.data) this._insertDataIntoStore(response.data.data); else if (response.data) this._insertDataIntoStore(response.data); else console.warn("Datos en formato inesperado"); this._insertDataIntoStore(response.data.data || response.data); }, _aroundGetConfig: function(_getConfig) { Loading Loading
public/javascript/redmic/modules/tree/_LazyLoad.js +4 −10 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ define([ , _Filter , _Store ) { return declare([_Filter, _Store], { constructor: function(args) { Loading Loading @@ -48,19 +49,12 @@ define([ var item = params[0], node = params[1]; if (item && this._allChildrenLoaded(item)) return true; return false; return item && this._allChildrenLoaded(item); }, _dataAvailable: function(response) { if (response.data && response.data.data) this._insertDataIntoStore(response.data.data); else if (response.data) this._insertDataIntoStore(response.data); else console.warn("Datos en formato inesperado"); this._insertDataIntoStore(response.data.data || response.data); }, _aroundGetConfig: function(_getConfig) { Loading