← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1531: (GIS) Thematic map set as default help content.

 

------------------------------------------------------------
revno: 1531
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: trunk
timestamp: Tue 2010-03-02 14:11:46 +0100
message:
  (GIS) Thematic map set as default help content.
modified:
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.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-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2010-03-02 11:58:13 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2010-03-02 13:11:46 +0000
@@ -2802,7 +2802,7 @@
 		iconCls: 'icon-help',
 		tooltip: 'Get help for the active panel',
 		handler: function() {
-
+			ACTIVEPANEL = !ACTIVEPANEL ? thematicMap : ACTIVEPANEL;
 			Ext.Ajax.request({
 				url: '../../dhis-web-commons-about/getHelpContent.action',
 				method: 'POST',
@@ -2816,8 +2816,7 @@
 						autoScroll: true,
 					});
 					h.show();
-				},
-				failure: function() {}
+				}
 			});
 		}
 	});