From f50363dac09efbcde082264812d3ef1bb659f82c Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 25 Jul 2018 13:22:10 +0800 Subject: [PATCH] Roo/bootstrap/Table.js roojs-bootstrap.js roojs-bootstrap-debug.js --- Roo/bootstrap/Table.js | 2 +- roojs-bootstrap-debug.js | 2 +- roojs-bootstrap.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Roo/bootstrap/Table.js b/Roo/bootstrap/Table.js index 996c825b2e..c7b18232de 100644 --- a/Roo/bootstrap/Table.js +++ b/Roo/bootstrap/Table.js @@ -1143,7 +1143,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, { onHiddenChange : function(a,b,c,d) { - Roo.log(a,b,c,d); + Roo.log([a,b,c,d]); /* this.onHeaderChange(); this.onLoad(); diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 30c41b14bc..566c46e0c1 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -6969,7 +6969,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, { onHiddenChange : function(a,b,c,d) { - Roo.log(a,b,c,d); + Roo.log([a,b,c,d]); /* this.onHeaderChange(); this.onLoad(); diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index fac0f9f9db..44621ea41f 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -274,7 +274,7 @@ i++){this.insertRow(this.store,B+i,false);return;}},refreshRow:function(A){var d var C=this.getGridEl().select('tbody',true).first();var D=this.getGridEl().select('tfoot',true).first();var cw=A.getWidth();if(C){C.setSize(A.getWidth(),A.getHeight()-((B?B.getHeight():0)+(D?D.getHeight():0)));var E=(C.dom.offsetWidth-C.dom.clientWidth);cw-=E; }cw=Math.max(cw,this.totalWidth);this.getGridEl().select('tr',true).setWidth(cw);return;},onBodyScroll:function(){if(this.mainHead){this.mainHead.setStyle({'position':'relative','left':(-1*this.mainBody.dom.scrollLeft)+'px'});}if(this.lazyLoad){var A=this.mainBody.dom.scrollHeight; var B=Math.ceil(this.mainBody.getScroll().top);var C=this.mainBody.getHeight();if(A-C==B){var D=this.ds.getTotalCount();if(this.footer.cursor+this.footer.pageSize