Author: bleny Date: 2014-08-06 14:30:30 +0200 (Wed, 06 Aug 2014) New Revision: 2198 Url: http://forge.codelutin.com/projects/wao/repository/revisions/2198 Log: refs #5603 input value must be '0' and not '' if effort is 0 Modified: branches/wao-4.0.x/wao-web/src/main/webapp/WEB-INF/content/edit-sample-row-input.jsp Modified: branches/wao-4.0.x/wao-web/src/main/webapp/WEB-INF/content/edit-sample-row-input.jsp =================================================================== --- branches/wao-4.0.x/wao-web/src/main/webapp/WEB-INF/content/edit-sample-row-input.jsp 2014-08-06 11:44:53 UTC (rev 2197) +++ branches/wao-4.0.x/wao-web/src/main/webapp/WEB-INF/content/edit-sample-row-input.jsp 2014-08-06 12:30:30 UTC (rev 2198) @@ -68,7 +68,7 @@ }); $(months).each(function (index, month) { var value = ""; - if (expectedObservationsByMonths[month]) { + if (expectedObservationsByMonths[month] != null) { value = expectedObservationsByMonths[month]; } var newInput = ' <td>'