Author: keith Date: Thu Feb 12 03:08:02 2009 New Revision: 30714 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=30714
Log: putting in fix for Author: jonathan Date: Thu Sep 4 16:49:17 2008 New Revision: 21486 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=21486 Log: MASHUP-1084: removed AddCss() function and reference. Modified: branches/mashup/java/1.5/java/modules/www/js/tooltip.js Modified: branches/mashup/java/1.5/java/modules/www/js/tooltip.js URL: http://wso2.org/svn/browse/wso2/branches/mashup/java/1.5/java/modules/www/js/tooltip.js?rev=30714&r1=30713&r2=30714&view=diff ============================================================================== --- branches/mashup/java/1.5/java/modules/www/js/tooltip.js (original) +++ branches/mashup/java/1.5/java/modules/www/js/tooltip.js Thu Feb 12 03:08:02 2009 @@ -17,7 +17,6 @@ function enableTooltips(id) { var links,i,h; if (!document.getElementById || !document.getElementsByTagName) return; - AddCss(); h = document.createElement("span"); h.id = "btc"; h.setAttribute("id", "btc"); @@ -85,15 +84,6 @@ return(x); } -function AddCss() { - var l = CreateEl("link"); - l.setAttribute("type", "text/css"); - l.setAttribute("rel", "stylesheet"); - l.setAttribute("href", "styles.css"); - l.setAttribute("media", "screen"); - document.getElementsByTagName("head")[0].appendChild(l); -} - function Locate(e) { var posx = 0,posy = 0; if (e == null) e = window.event; _______________________________________________ Mashup-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/mashup-dev
