← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 711: (GIS) Google Chrome combo box fix.

 

------------------------------------------------------------
revno: 711
committer: Jan Henrik Overland janhenrik.overland@xxxxxxxxx
branch nick: trunk
timestamp: Mon 2009-09-14 23:57:19 +0200
message:
  (GIS) Google Chrome combo box fix.
modified:
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/config.js
  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/config.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/config.js	2009-09-14 19:02:15 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/config.js	2009-09-14 21:57:19 +0000
@@ -40,8 +40,9 @@
 	combo_number_width = 75;
 	combo_number_list_width = combo_number_width + 17;
 	
-	// if (navigator.userAgent.toLowerCase().indexOf('chrome') > -1) {
-		
+	if (navigator.userAgent.toLowerCase().indexOf('chrome') > -1) {
+		combo_width2 = 125;
+	}		
     
     MENU_TEXTCOLOR = '#666'; // label
 	MENU_TEXTCOLOR_INFO = '#222'; // info text

=== 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	2009-09-14 19:02:15 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2009-09-14 21:57:19 +0000
@@ -2004,7 +2004,7 @@
 			{
 				xtype: 'combo',
 				id: 'baselongitude_cb',
-				fieldLabel: 'Base longitude',
+				fieldLabel: 'Base longitude (x)',
 				valueField: 'longitude',
 				displayField: 'longitude',
 				editable: true,
@@ -2020,7 +2020,7 @@
 			{
 				xtype: 'combo',
 				id: 'baselatitude_cb',
-				fieldLabel: 'Base latitude',
+				fieldLabel: 'Base latitude (y)',
 				valueField: 'latitude',
 				displayField: 'latitude',
 				editable: true,