← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8020: Minor fix

 

------------------------------------------------------------
revno: 8020
committer: Lai <lai.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2012-09-07 17:23:24 +0700
message:
  Minor fix
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/javascript/gateway.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-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/javascript/gateway.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/javascript/gateway.js	2012-09-07 10:18:43 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/javascript/gateway.js	2012-09-07 10:23:24 +0000
@@ -30,7 +30,6 @@
 function getValidationRulesGateway()
 {
 	var rules = {};
-	alert('outside');
 	if ( currentType == 'modem' ) {
 		rules = {
 			'modemFields input[id=name]' : { 'required' : true },
@@ -43,8 +42,6 @@
 			'modemFields select[id=inbound]' : { 'required' : true },
 			'modemFields select[id=outbound]' : { 'required' : true }
 		};
-		alert(currentType);
-		alert('hehehhe');
 	} else if ( currentType == 'bulksms' ) {
 		rules = {
 			'bulksmsFields input[id=name]' : { 'required' : true },