=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/multidimensional/updateDataElementCategoryComboForm.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/multidimensional/updateDataElementCategoryComboForm.vm 2011-04-14 08:28:01 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/multidimensional/updateDataElementCategoryComboForm.vm 2011-04-15 12:47:28 +0000 @@ -3,7 +3,10 @@ validation2( 'editDataElementCategoryComboForm', function( form ) { validateSelectedCategories( form ); }, { - 'beforeValidateHandler': function() { listValidator( 'selectedCategories', 'selectedList' ); }, + 'beforeValidateHandler': function() { + jQuery("#selectedList option").each(function() { jQuery(this).attr("selected", "true"); }); + listValidator( 'selectedCategories', 'selectedList' ); + }, 'rules': getValidationRules("dateElementCategoryCombo") });