------------------------------------------------------------
revno: 7643
committer: Tran Chau <[email protected]>
branch nick: dhis2
timestamp: Fri 2012-07-20 13:44:54 +0700
message:
  Don't need to select dataeelements to generate tabular report.
modified:
  
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.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/app/app.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js	2012-07-19 03:26:16 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js	2012-07-20 06:44:54 +0000
@@ -1051,23 +1051,12 @@
 					TR.util.notification.error( message, message);
 					return false;
 				}
-				
-				if( TR.cmp.settings.startDate.getValue() > TR.cmp.settings.endDate.getValue() )
-				{
-					TR.util.notification.error(TR.i18n.start_date_must_be_less_then_or_equals_to_end_date, TR.i18n.start_date_must_be_less_then_or_equals_to_end_date);
-					return false;
-				}
 			
 				if (TR.state.orgunitId == '') {
 					TR.util.notification.error(TR.i18n.et_no_orgunits, TR.i18n.em_no_orgunits);
 					return false;
 				}
 				
-				if (!TR.cmp.params.dataelement.selected.store.data.length) {
-					TR.util.notification.error(TR.i18n.et_no_dataelement, TR.i18n.et_no_dataelement);
-					return false;
-				}
-				
 				return true;
 			},
 			response: function(r) {

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to