← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2193: Fix bug: Service/Data Quality/Validation Rule --In list of Validation rule the sorting method is ...

 

------------------------------------------------------------
revno: 2193
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: trunk
timestamp: Wed 2010-09-22 14:08:02 +0700
message:
  Fix bug: Service/Data Quality/Validation Rule --In list of Validation rule the sorting method is not given.
modified:
  dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/validationRule.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-validationrule/src/main/webapp/dhis-web-validationrule/validationRule.vm'
--- dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/validationRule.vm	2010-09-18 09:50:09 +0000
+++ dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/validationRule.vm	2010-09-22 07:08:02 +0000
@@ -10,7 +10,7 @@
 					<td colspan="3" style="text-align:right"><input type="button" value="$i18n.getString( "add_new" )" onclick="window.location.href='showAddValidationRuleForm.action'"></td>
 				</tr>	
 			</table>
-			<table class="listTable" id="validationRulesList"> 
+			<table class="listTable" id="listTable"> 
 				<col>
 				<col width="20">
 				<col width="20">
@@ -18,7 +18,7 @@
 				<thead>							
 				<tr>
 					<th>$i18n.getString( "name" )</th>
-					<th>$i18n.getString('periodtype')</th>
+					<th  width="100px">$i18n.getString('periodtype')</th>
 					<th colspan="3" class="{sorter: false}">$i18n.getString( "operations" )</th>	
 				</tr>
 				</thead>			
@@ -69,7 +69,8 @@
 	var i18n_greater_than_or_equal_to = '$encoder.jsEscape( $i18n.getString( "greater_than_or_equal_to" ) , "'")';
 	var i18n_less_than = '$encoder.jsEscape( $i18n.getString( "less_than" ) , "'")';
 	var i18n_less_than_or_equal_to = '$encoder.jsEscape( $i18n.getString( "less_than_or_equal_to" ) , "'")';
-	jQuery(document).ready(function(){		
+	
+	jQuery(document).ready(function(){	
 		tableSorter( 'listTable' );	
 	});
 </script>