← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2062: update excel reporting module

 

------------------------------------------------------------
revno: 2062
committer: Tran Thanh Tri <Tran Thanh Tri@compaq>
branch nick: trunk
timestamp: Sun 2010-09-05 21:41:33 +0700
message:
  update excel reporting module
modified:
  dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/report/reportItems.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-excel-reporting/src/main/webapp/dhis-web-excel-reporting/report/reportItems.vm'
--- dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/report/reportItems.vm	2010-08-31 08:12:53 +0000
+++ dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/report/reportItems.vm	2010-09-05 14:41:33 +0000
@@ -3,12 +3,6 @@
 		tableSorter( 'listTable', [[1,0]] );	
 	});
 	
-	function reportItemSelect( checked )
-	{
-		if( checked ) checkALL( "input[type=checkbox][name=reportItemCheck]" );
-		else unCheckALL( "input[type=checkbox][name=reportItemCheck]" );
-	}
-	
 </script>
 
 <h3>$!encoder.htmlEncode($!reportExcel.name)</h3>
@@ -47,7 +41,7 @@
 	<col width="100px" />
 	<thead>
 		<tr>
-			<th class="{sorter: false}"><input type="checkbox" onclick="reportItemSelect(this.checked)"/></th>
+			<th class="{sorter: false}"><input type="checkbox" onclick="toggleChecked(this.checked, 'reportItemCheck')"/></th>
 			<th>$i18n.getString('name')</th>
 			<th>$i18n.getString('item_type')</th>
 			<th>$i18n.getString('period_type')</th>