dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18432
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7771: added selectAll to dataadmin maintenance
------------------------------------------------------------
revno: 7771
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-07-30 18:39:28 +0200
message:
added selectAll to dataadmin maintenance
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/maintenanceForm.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-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/maintenanceForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/maintenanceForm.vm 2011-03-17 14:42:52 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/maintenanceForm.vm 2012-07-30 16:39:28 +0000
@@ -2,6 +2,12 @@
var i18n_select_options = '$encoder.jsEscape( $i18n.getString( "select_options" ), "'" )';
var i18n_performing_maintenance = '$encoder.jsEscape( $i18n.getString( "performing_maintenance" ), "'" )';
var i18n_maintenance_performed = '$encoder.jsEscape( $i18n.getString( "maintenance_performed" ), "'" )';
+
+ $(function() {
+ $('#selectAllButton').bind('click', function(e) {
+ $(':checkbox').attr('checked', true);
+ });
+ });
</script>
<h3>$i18n.getString( "maintenance" ) #openHelp( "maintenance" )</h3>
@@ -32,6 +38,7 @@
</p>
<p>
+ <input type="button" value="Select all" id="selectAllButton" style="width:100px">
<input type="button" value="$i18n.getString( 'perform_maintenance' )" onclick="performMaintenance()" style="width:170px"/>
</p>