← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1873: Minor fix.

 

------------------------------------------------------------
revno: 1873
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-07-23 14:04:03 +0700
message:
  Minor fix.
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.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-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js	2010-04-28 04:59:07 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js	2010-07-23 07:04:03 +0000
@@ -319,6 +319,8 @@
 	{
 		var imgTag = getToggleImage();
 		imgTag.src = '../images/transparent.gif';
+		imgTag.width = '9';
+        imgTag.height = '9';
 		imgTag.alt = '';
 		return imgTag;
 	}

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js	2010-07-22 13:55:39 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js	2010-07-23 07:04:03 +0000
@@ -41,6 +41,7 @@
 
     this.select = function( unitId )
     {
+
         var unitTag = document.getElementById( getTagId( unitId ));
         var linkTags = unitTag.getElementsByTagName( 'a' );
 
@@ -73,7 +74,7 @@
 				}, function (data){
 					responseReceived(data.firstChild);
 				},'xml');	
-		
+				
                 // Remove all select marks
                 var treeTag = document.getElementById( 'orgUnitTree' );
                 var linkTags = treeTag.getElementsByTagName( 'a' );
@@ -318,6 +319,8 @@
     {
         var imgTag = getToggleImage();
         imgTag.src = '../images/expand.png';
+		imgTag.width = '9';
+        imgTag.height = '9';
         imgTag.alt = '[-]';
         return imgTag;
     }
@@ -326,6 +329,8 @@
 	{
 		var imgTag = getToggleImage();
 		imgTag.src = '../images/transparent.gif';
+		imgTag.width = '9';
+        imgTag.height = '9';
 		imgTag.alt = '';
 		return imgTag;
 	}