appy.gen: bugfixes.

This commit is contained in:
Gaetan Delannay 2012-03-08 20:56:14 +01:00
parent 7b0b7e147d
commit 0dd8b72dca
6 changed files with 16 additions and 19 deletions

View file

@ -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]);

View file

@ -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];