=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js 2012-06-09 21:27:46 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js 2012-06-19 03:52:43 +0000 @@ -1536,6 +1536,7 @@ // ----------------------------------------------------------------------------- isAjax = false; +var contentDiv = 'contentDiv'; function pagingList( currentPage, pageSize ) { var baseLink = jQuery( "#baseLink" ).val(); @@ -1568,17 +1569,9 @@ } else { - jQuery.postUTF8( link , data, function(html) - { - if ( contentDiv == undefined ) - { - setInnerHTML( 'contentDiv', html ); - } - else - { - setInnerHTML( contentDiv, html ); - } - } ); + jQuery.postUTF8( link , data, function(html){ + setInnerHTML( contentDiv, html ); + }); } } === modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/paging/paging.vm' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/paging/paging.vm 2012-02-14 16:03:54 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/paging/paging.vm 2012-06-19 03:52:43 +0000 @@ -23,7 +23,7 @@ - +