appy.gen: bugfixes.

This commit is contained in:
Gaetan Delannay 2012-03-03 23:29:32 +01:00
parent 91d3887847
commit 431511026c
3 changed files with 15 additions and 7 deletions

View file

@ -521,7 +521,7 @@ function updateRowNumber(row, rowIndex, action) {
var nSuffix = name.lastIndexOf('_');
var nameSuffix = '';
if (nSuffix != -1) {
nameSuffix = id.substring(nSuffix);
nameSuffix = name.substring(nSuffix);
name = name.substring(0, nSuffix);
}
// Compute the current row index if not already done.