← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1420: (GIS) Rev 1415 commit completed.

 

------------------------------------------------------------
revno: 1420
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-02-11 15:57:03 +0100
message:
  (GIS) Rev 1415 commit completed.
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-02-11 11:44:33 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2010-02-11 14:57:03 +0000
@@ -201,7 +201,7 @@
         checkedCls: 'x-form-radio-checked'
     });
     
-    document.body.oncontextmenu = function() { return false; }
+    document.body.oncontextmenu = function() { return false; };
 	
 	Ext.QuickTips.init();
     
@@ -543,7 +543,7 @@
 		listeners: {
 			'hide': {
 				fn: function() {
-					alert("closed");
+					mapping.relation = false;
 				}
 			}
 		}
@@ -1138,14 +1138,14 @@
 			id: 'wmswindow_sb',
 			items:
 			[
-				// {
-					// xtype: 'button',
-					// id: 'previewwms_b',
-					// text: 'Preview',
-					// handler: function() {
+				/* {
+					 xtype: 'button',
+					 id: 'previewwms_b',
+					 text: 'Preview',
+					 handler: function() {
 						
-					// }
-				// },
+					 }
+				 },*/
 				{
 					xtype: 'button',
 					id: 'selectwms_b',
@@ -1913,14 +1913,14 @@
 			id: 'wmsoverlaywindow_sb',
 			items:
 			[
-				// {
-					// xtype: 'button',
-					// id: 'previewwmsoverlay_b',
-					// text: 'Preview',
-					// handler: function() {
-						
-					// }
-				// },
+/*			
+				{
+					xtype: 'button',
+					id: 'previewwmsoverlay_b',
+					text: 'Preview',
+					handler: function() {}
+				},
+*/				
 				{
 					xtype: 'button',
 					id: 'selectwmsoverlay_b',