------------------------------------------------------------
revno: 10333
committer: Lars Helge Ă˜verland <[email protected]>
branch nick: dhis2
timestamp: Tue 2013-03-19 21:19:16 +0100
message:
  Minor
modified:
  
dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.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-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js	2013-03-19 20:17:26 +0000
+++ dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js	2013-03-19 20:19:16 +0000
@@ -2670,30 +2670,24 @@
 				favorite.userOrganisationUnit = DV.c.userorganisationunit;
 				favorite.userOrganisationUnitChildren = DV.c.userorganisationunitchildren;
 				
-				favorite.domainAxisLabel = DV.c.domainaxislabel;
-				favorite.rangeAxisLabel = DV.c.rangeaxislabel;
-				favorite.targetLineValue = DV.c.targetlinevalue;
-				favorite.targetLineLabel = DV.c.targetlinelabel;
-				favorite.baseLineValue = DV.c.baselinevalue;
-				favorite.baseLineLabel = DV.c.baselinelabel;
-
 				// Options
-				if (DV.c.domainAxisLabel) {
+				
+				if (DV.c.domainaxislabel) {
 					favorite.domainAxisLabel = DV.c.domainaxislabel;
 				}
-				if (DV.c.rangeAxisLabel) {
+				if (DV.c.rangeaxislabel) {
 					favorite.rangeAxisLabel = DV.c.rangeaxislabel;
 				}
-				if (DV.c.targetLineValue) {
+				if (DV.c.targetlinevalue) {
 					favorite.targetLineValue = DV.c.targetlinevalue;
 				}
-				if (DV.c.targetLineLabel) {
+				if (DV.c.targetlinelabel) {
 					favorite.targetLineLabel = DV.c.targetlinelabel;
 				}
-				if (DV.c.baseLineValue) {
+				if (DV.c.baselinevalue) {
 					favorite.baseLineValue = DV.c.baselinevalue;
 				}
-				if (DV.c.baseLineLabel) {
+				if (DV.c.baselinelabel) {
 					favorite.baseLineLabel = DV.c.baselinelabel;
 				}
 

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to