=== 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;