From ece2ab4cf61babe7959e945fd85bf9fd9a34069a Mon Sep 17 00:00:00 2001 From: tensor Date: Tue, 10 Feb 2015 10:41:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E5=8D=95=E8=AE=BE=E8=AE=A1=E5=99=A8?= =?UTF-8?q?=EF=BC=9A=E9=80=89=E4=B8=AD=E5=8D=95=E5=85=83=E6=A0=BC=E7=AA=81?= =?UTF-8?q?=E5=87=BA=E6=98=BE=E7=A4=BA=EF=BC=8C=E5=A2=9E=E5=8A=A0remove=20?= =?UTF-8?q?row=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/content/form/form-template-input.jsp | 1 + webapp/widgets/xform/styles/xform.css | 4 ++-- webapp/widgets/xform/xform-all.js | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/webapp/content/form/form-template-input.jsp b/webapp/content/form/form-template-input.jsp index 0c2c4af13..7a2f6bacf 100644 --- a/webapp/content/form/form-template-input.jsp +++ b/webapp/content/form/form-template-input.jsp @@ -112,6 +112,7 @@ --> + diff --git a/webapp/widgets/xform/styles/xform.css b/webapp/widgets/xform/styles/xform.css index 6072805c2..25e92059f 100644 --- a/webapp/widgets/xform/styles/xform.css +++ b/webapp/widgets/xform/styles/xform.css @@ -33,11 +33,11 @@ table.xf-table { td.xf-cell { -moz-user-select: none; } - +/* td.xf-cell div { height: 22px; } - +*/ td.xf-cell-top { border-top: black 1px solid; } diff --git a/webapp/widgets/xform/xform-all.js b/webapp/widgets/xform/xform-all.js index 1545b91cf..53b1ec839 100644 --- a/webapp/widgets/xform/xform-all.js +++ b/webapp/widgets/xform/xform-all.js @@ -528,7 +528,7 @@ xf.GridSection.prototype.render = function() { html += '' for (var j = 0; j < this.col; j++) { var cellId = rowId + '-' + j; - var cellClassName = 'xf-cell-right xf-cell-bottom'; + var cellClassName = 'xf-cell xf-cell-right xf-cell-bottom'; if (i == 0) { cellClassName += ' xf-cell-top'; } @@ -627,7 +627,7 @@ xf.GridSection.prototype.addRow = function() { for (var i = 0; i < this.col; i++) { var td = document.createElement('td'); td.id = tr.id + '-' + i; - td.className = 'xf-cell-right xf-cell-bottom'; + td.className = 'xf-cell xf-cell-right xf-cell-bottom'; if (i == 0) { td.className += ' xf-cell-left'; }