dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18211
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7594: validation fix for strings in dataentry
------------------------------------------------------------
revno: 7594
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-07-12 16:41:00 +0300
message:
validation fix for strings in dataentry
modified:
dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js 2012-06-09 21:27:46 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js 2012-07-12 13:41:00 +0000
@@ -137,7 +137,7 @@
if ( value != '' )
{
- if ( type == 'int' || type == 'number' || type == 'positiveNumber' || type == 'negativeNumber' )
+ if ( type == 'string' || type == 'int' || type == 'number' || type == 'positiveNumber' || type == 'negativeNumber' )
{
if ( value.length > 255 )
{