=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/util/commons.js' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/util/commons.js 2009-09-28 22:49:28 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/util/commons.js 2009-10-19 13:19:26 +0000 @@ -462,7 +462,7 @@ } /** - * Returns a query string with all selected element values in the select with + * Returns a query string with all element values in the select list with * the specified identifier. */ function getParamString( elementId ) === modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/util/lists.js' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/util/lists.js 2009-05-28 11:18:43 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/util/lists.js 2009-10-19 13:19:26 +0000 @@ -170,7 +170,7 @@ * @param listId the id of the list. */ function removeSelectedOption( listId ) { - var list = document.getElementById( "levelNames" ); + var list = document.getElementById( listId ); for ( var i = list.length - 1; i >= 0; i-- ) { if ( list.options[ i ].selected ) { list.remove( i );