dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #11114
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3115: Fix bug: Data-entry-validation-NPE-with-empty-paramaters.
------------------------------------------------------------
revno: 3115
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-03-22 13:27:53 +0700
message:
Fix bug: Data-entry-validation-NPE-with-empty-paramaters.
modified:
dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js
dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/select.vm
--
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/form.js'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2011-03-18 10:04:25 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2011-03-22 06:27:53 +0000
@@ -196,6 +196,7 @@
{
addEventListeners();
hideLoader();
+ enable("validationBtt");
}
function setDisplayModes()
=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/select.vm'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/select.vm 2011-03-18 12:29:01 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/select.vm 2011-03-22 06:27:53 +0000
@@ -27,7 +27,7 @@
</div>
<div id="actions" style="">
- <input type="button" value="$i18n.getString( 'run_validation' )" onclick="javascript:validate()" style="width:150px"/><br/><br/>
+ <input type="button" value="$i18n.getString( 'run_validation' )" onclick="javascript:validate()" id='validationBtt' style="width:150px;" disabled /><br/><br/>
<label for="displayModeCustom">$i18n.getString( "use_custom_form" )</label>
<input type="radio" id="displayModeCustom" name="displayMode" value="customform" disabled="disabled" onclick="displayModeSelected()"><br>