← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19525: Fix issue where select all checkboxes did nothing.

 

------------------------------------------------------------
revno: 19525
committer: Halvdan Hoem Grelland <halvdanhg@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-06-30 23:58:15 +0200
message:
  Fix issue where select all checkboxes did nothing.
modified:
  dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/filteredMetaDataExport.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-importexport/src/main/webapp/dhis-web-importexport/javascript/filteredMetaDataExport.js'
--- dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/filteredMetaDataExport.js	2015-01-03 11:19:11 +0000
+++ dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/filteredMetaDataExport.js	2015-06-30 21:58:15 +0000
@@ -48,9 +48,9 @@
             if( $(this).is(":checked") ) {
                 // $(this).attr('checked', true);
                 $( "#heading" + metaDataCategoryName ).css( "background", "#CFFFB3 50% 50% repeat-x" );
-                // selectAllValuesByCategory(metaDataCategoryName);
+                 selectAllValuesByCategory(metaDataCategoryName);
             } else {
-                // deselectValuesByCategory(metaDataCategoryName);
+                 deselectValuesByCategory(metaDataCategoryName);
                 $( "#heading" + metaDataCategoryName ).css( "background", "" );
             }
         } );