← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7210: Reverted 7205

 

------------------------------------------------------------
revno: 7210
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-06-06 12:51:29 +0200
message:
  Reverted 7205
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.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-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-06 09:34:37 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js	2012-06-06 10:51:29 +0000
@@ -1549,10 +1549,10 @@
 			setFieldValue( 'key', keyParam.split( '=' )[1] )
 		}
 		
+		url = link + "?currentPage=" + currentPage + "&pageSize=" + pageSize;
+		
 		if ( $( '#filterKeyForm' ).length )
 		{
-			url = link + "?currentPage=" + currentPage + "&pageSize=" + pageSize;
-		
 			$( '#filterKeyForm' ).attr( 'action', url );
 			$( '#filterKeyForm' ).submit();
 		}