dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #02556
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 854: Modify codestyle for Individual Report Excel
------------------------------------------------------------
revno: 854
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: trunk
timestamp: Wed 2009-10-14 09:39:08 +0700
message:
Modify codestyle for Individual Report Excel
modified:
dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/javascript/individual.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-excel-reporting/src/main/webapp/dhis-web-excel-reporting/javascript/individual.js'
--- dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/javascript/individual.js 2009-10-14 02:21:43 +0000
+++ dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/javascript/individual.js 2009-10-14 02:39:08 +0000
@@ -87,7 +87,7 @@
var option = new Option( value, id );
option.onmousemove = function(e){
- showToolTip( e, availableAllDataElements[this.value]);
+ showToolTip( e, this.text);
}
availableList.add( option , null );
@@ -112,15 +112,10 @@
var option = new Option( value, id );
- //dw_Tooltip.content_vars[id] = name;
-
option.onmousemove = function(e){
showToolTip(e, name);
}
- //option.setAttribute("onMouseOver", showToolTip(byId('tooltip'), value) );
- //option.setAttribute("class", "showTip " + id );
-
if ( value.toLowerCase().indexOf( filter.toLowerCase() ) != -1 )
{
list.add(option, null );
@@ -160,16 +155,12 @@
dataSetMembers[id] = list.options[list.selectedIndex].text + " - " + listOptionCombo[listOptionCombo.selectedIndex].text;
- //dw_Tooltip.content_vars[id] = dataSetMembers[id];
-
var option = new Option( dataSetMembers[id], id );
option.onmousemove = function(e){
showToolTip( e, this.text);
}
- //option.setAttribute("class", "showTip " + id );
-
byId( 'selectedDataElements' ).add(option, null );
@@ -298,7 +289,6 @@
posy = e.clientY;
}
-
tooltipDiv.style.left= posx + 8 + 'px';
tooltipDiv.style.top = posy + 8 + 'px';
tooltipDiv.innerHTML = " " + value;