dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #17967
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7376: Minor fix for anonymous form.
------------------------------------------------------------
revno: 7376
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-06-25 13:20:22 +0700
message:
Minor fix for anonymous form.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/anonymousRegistration.vm
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.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-caseentry/src/main/webapp/dhis-web-caseentry/anonymousRegistration.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/anonymousRegistration.vm 2012-06-25 06:15:22 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/anonymousRegistration.vm 2012-06-25 06:20:22 +0000
@@ -39,7 +39,7 @@
<input type="button" id='addBtn' value='$i18n.getString( "add_new" )' onclick="showAddEventForm();">
</td>
<td>
- <input type="button" id='advancedSearch' value='$i18n.getString( "advanced_search" )' onclick="jQuery('#advanced-search').slideToggle();">
+ <input type="button" value='$i18n.getString( "advanced_search" )' onclick="jQuery('#advanced-search').slideToggle();">
</td>
</tr>
</table>
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js 2012-06-25 06:15:22 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js 2012-06-25 06:20:22 +0000
@@ -11,7 +11,7 @@
clearListById('compulsoryDE');
clearListById('programId');
- jQuery( '#programId').append( '<option value="">[' + i18n_please_select + ']</option>' );
+ jQuery( '#programId').append( '<option value="" programStageId="">[' + i18n_please_select + ']</option>' );
for ( i in json.programs ) {
jQuery( '#programId').append( '<option value="' + json.programs[i].id +'" programStageId="' + json.programs[i].programStageId + '">' + json.programs[i].name + '</option>' );
}
@@ -71,7 +71,7 @@
clearListById('searchObjectId');
clearListById('compulsoryDE');
- jQuery( '#searchObjectId').append( '<option value="">[' + i18n_please_select + ']</option>' );
+ jQuery( '#searchObjectId').append( '<option value="" >[' + i18n_please_select + ']</option>' );
for ( i in json.programStageDataElements ) {
jQuery( '#searchObjectId').append( '<option value="' + json.programStageDataElements[i].id + '" type="' + json.programStageDataElements[i].type +'">' + json.programStageDataElements[i].name + '</option>' );