← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10469: fix bugs

 

------------------------------------------------------------
revno: 10469
committer: Lai <lai.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-04-04 09:42:08 +0700
message:
  fix bugs
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/receiveSMSPage.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-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/receiveSMSPage.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/receiveSMSPage.vm	2012-08-22 07:08:08 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/receiveSMSPage.vm	2013-04-04 02:42:08 +0000
@@ -33,7 +33,10 @@
 		}
 		for (var i = 0; i < aa.elements.length; i++) 
 		{
-		 aa.elements[i].checked = checked;
+			if ( aa.elements[i].type == "checkbox" )
+			{
+				aa.elements[i].checked = checked;
+			}
 		}
 	};
 	
@@ -52,7 +55,7 @@
 		
 		if( result != "")
 		{
-			var confirmation = window.confirm( "$i18n.getString( 'confirm_delete_items' )" );
+			var confirmation = window.confirm( "$i18n.getString( 'confirm_delete_items' )"+result );
 			if ( confirmation )
 			{
 				jQuery.get( 'deleteReceiveSMS.action?' + result, {},