appy.gen: bugfixes.
This commit is contained in:
parent
7b0b7e147d
commit
0dd8b72dca
6 changed files with 16 additions and 19 deletions
|
@ -502,7 +502,7 @@ function updateRowNumber(row, rowIndex, action) {
|
|||
with new p_rowIndex. If p_action is 'set', p_rowIndex becomes the new
|
||||
index. If p_action is 'add', new index becomes:
|
||||
existing index + p_rowIndex. */
|
||||
var tagTypes = ['input', 'select', 'img'];
|
||||
var tagTypes = ['input', 'select', 'img', 'textarea'];
|
||||
var currentIndex = -1;
|
||||
for (var i=0; i < tagTypes.length; i++) {
|
||||
var widgets = row.getElementsByTagName(tagTypes[i]);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<tal:comment replace="nothing">Single row.</tal:comment>
|
||||
<tr metal:define-macro="row"
|
||||
<tr metal:define-macro="row" valign="top"
|
||||
tal:attributes="style python: (rowIndex==-1) and 'display: none' or ''">
|
||||
<td align="center" tal:repeat="fieldInfo widget/fieldsd">
|
||||
<tal:show define="widget python: fieldInfo[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue