← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4083: Bug Fixed on Paging

 

------------------------------------------------------------
revno: 4083
committer: Mithilesh Kumar Thakur<mithilesh.hisp@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-07-07 11:13:06 +0530
message:
  Bug Fixed on Paging
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/paging/paging.vm


--
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/paging/paging.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/paging/paging.vm	2011-06-14 07:44:43 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/paging/paging.vm	2011-07-07 05:43:06 +0000
@@ -22,7 +22,7 @@
 					<input type="text" id="jumpToPage" value="$!currentPage" style="width:50px" onKeyPress="changePageSize(event,'$baseLink');">
 				</td>
 				<td>
-					<input type="button" id="submitButton" value="$i18n.getString('go')" onclick="changePageSize('$baseLink');">
+					<input type="button" id="submitButton" value="$i18n.getString('go')" onclick="changePageSize(event,'$baseLink');">
 				</td>				
 			</tr>		
 			<tr>
@@ -102,7 +102,7 @@
 {
 	var key = getKeyCode(e);
 	
-	if ( key==13 )// Enter
+	if ( key==13 || key==1 )// Enter
 	{
 		// ---------------------------------------------------
 		// validate parametter