dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20486
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9361: local vn - Minor fixed
------------------------------------------------------------
revno: 9361
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-12-19 16:02:18 +0700
message:
local vn - Minor fixed
modified:
local/vn/dhis-web-spreadsheet-reporting/src/main/webapp/dhis-web-spreadsheet-reporting/javascript/autoGenerateForm.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 'local/vn/dhis-web-spreadsheet-reporting/src/main/webapp/dhis-web-spreadsheet-reporting/javascript/autoGenerateForm.js'
--- local/vn/dhis-web-spreadsheet-reporting/src/main/webapp/dhis-web-spreadsheet-reporting/javascript/autoGenerateForm.js 2012-12-18 08:08:53 +0000
+++ local/vn/dhis-web-spreadsheet-reporting/src/main/webapp/dhis-web-spreadsheet-reporting/javascript/autoGenerateForm.js 2012-12-19 09:02:18 +0000
@@ -64,7 +64,8 @@
if ( type && type == 'input' )
{
- showErrorMessage( parentElement.firstChild.nodeValue, 5000 );
+ var messageTag = parentElement.getElementsByTagName( 'message' )[0];
+ showErrorMessage( messageTag.firstChild.nodeValue, 5000 );
}
else if ( type && type == 'error' )
{