← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11150: Fix bug - Not display tabs in program traking module when to open a stage.

 

------------------------------------------------------------
revno: 11150
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-06-06 11:44:13 +0700
message:
  Fix bug - Not display tabs in program traking module when to open a stage.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingList.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-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingList.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingList.vm	2013-05-29 07:33:41 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingList.vm	2013-06-06 04:44:13 +0000
@@ -120,7 +120,7 @@
 	</div>
 </div>			
 
-<div id='tabs'>
+<div id='tabs-tracking'>
 	<ul>
 		<li><a href="#tab-1">$i18n.getString("comments_and_sms_message")</a></li>
 		<li><a href="#tab-2">$i18n.getString("program_report")</a></li>
@@ -181,11 +181,11 @@
 	jQuery(document).ready(	function(){
 		setFieldValue('programStageName', "$programStageInstance.programStage.displayName");
 		setFieldValue( "programStageInstanceId", "$!programStageInstance.id" );
-		$('#tabs').tabs();
+		$('#tabs-tracking').tabs();
 	});
 
 	
-	$( "#tabs" ).bind( "tabsselect", function(event, ui) {
+	$( "#tabs-tracking" ).bind( "tabsselect", function(event, ui) {
 		if( ui.tab.hash == '#tab-2' ){
 			programReports(getFieldValue('programInstanceId'));
 		}