Index: ssts-web/src/main/webapp/common/includeExtJs4_2.jsp =================================================================== diff -u -r15863 -r16184 --- ssts-web/src/main/webapp/common/includeExtJs4_2.jsp (.../includeExtJs4_2.jsp) (revision 15863) +++ ssts-web/src/main/webapp/common/includeExtJs4_2.jsp (.../includeExtJs4_2.jsp) (revision 16184) @@ -12,38 +12,4 @@ //覆盖extJs4的占位图片路径 Ext4.BLANK_IMAGE_URL = WWWROOT + '/ext/resources/images/default/s.gif'; Ext4.define(null, { override: 'Ext4.data.Store', constructor: function() { this.callParent(arguments); if (this.autoLoad) { this.loading = true; } } }); -/* -Ext4.override(Ext4.data.TreeStore, { - load: function(options) { - options = options || {}; - options.params = options.params || {}; - - var me = this, - node = options.node || me.tree.getRootNode(), - root; - - // If there is not a node it means the user hasnt defined a rootnode yet. In this case lets just - // create one for them. - if (!node) { - node = me.setRootNode({ - expanded: true - }); - } - - if (me.clearOnLoad) { - // this is what we changed. added false - node.removeAll(false); - } - - Ext4.applyIf(options, { - node: node - }); - options.params[me.nodeParam] = node ? node.getId() : 'root'; - - if (node) { - node.set('loading', true); - } - return me.callParent([options]); - } -});*/ \ No newline at end of file