dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #17989
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7396: Show report date, all org unit levels etc even if there are no mandatory data elements.
------------------------------------------------------------
revno: 7396
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-06-26 09:57:46 +0700
message:
Show report date, all org unit levels etc even if there are no mandatory data elements.
modified:
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/javascript/anonymousRegistration.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js 2012-06-26 02:41:54 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js 2012-06-26 02:57:46 +0000
@@ -155,11 +155,7 @@
function validateSearchEvents( listAll )
{
var flag = true;
- if( listAll && jQuery( '#compulsoryDE option' ).length == 0 ){
- showWarningMessage( i18n_no_compulsary_data_elements );
- flag = false;
- }
- else if( !listAll )
+ if( !listAll )
{
jQuery( '#advancedSearchTB tbody tr' ).each( function( i, row ){
jQuery( this ).find(':input').each( function( idx, item ){