------------------------------------------------------------ revno: 2057 committer: Tran Thanh Tri <Tran Thanh t...@compaq> branch nick: trunk timestamp: Wed 2010-06-30 09:53:45 +0700 message: fix small bug in excel reporting modified: dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/chart.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-excel-reporting/src/main/webapp/dhis-web-excel-reporting/chart.vm' --- dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/chart.vm 2010-06-28 08:50:56 +0000 +++ dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/chart.vm 2010-06-30 02:53:45 +0000 @@ -1,5 +1,4 @@ - -<h3>$i18n.getString( "chart" )</h3> +<h3>$i18n.getString( "chart" )</h3> <br> <form name="chart"> <div id="container"> @@ -246,8 +245,8 @@ PARENT = Ext.util.JSON.decode(r.responseText).parent.name; var hasChild = Ext.util.JSON.decode(r.responseText).hasChild; - if( hasChild ) tabs.get(2).enable(); - else tabs.get(2).disable(); + if( hasChild ) tabs.get(3).enable(); + else tabs.get(3).disable(); var isRoot = Ext.util.JSON.decode(r.responseText).isRoot; if( isRoot ) fullChartRadio.disable(); @@ -318,7 +317,7 @@ #if(!$!organisationUnit) disableTabs(); #else if(!$organisationUnit.hasChild()) - tabs.get(2).disable(); + tabs.get(3).disable(); #end #if($root)
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

