[mashup-dev] svn commit r14498 - trunk/mashup/java/modules/www/js
svn at wso2.org
svn at wso2.org
Tue Mar 4 07:11:51 PST 2008
Author: tyrell
Date: Tue Mar 4 07:11:48 2008
New Revision: 14498
Log:
Adding license
Modified:
trunk/mashup/java/modules/www/js/tooltip.js
Modified: trunk/mashup/java/modules/www/js/tooltip.js
==============================================================================
--- trunk/mashup/java/modules/www/js/tooltip.js (original)
+++ trunk/mashup/java/modules/www/js/tooltip.js Tue Mar 4 07:11:48 2008
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2007 WSO2, Inc. http://www.wso2.org
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
function enableTooltips(id) {
var links,i,h;
if (!document.getElementById || !document.getElementsByTagName) return;
@@ -15,7 +31,7 @@
}
function Prepare(el) {
- var tooltip,t,b,s,l;
+ var tooltip,t,b,s;
t = el.getAttribute("title");
if (!(t == null || t.length == 0)) {
el.removeAttribute("title");
@@ -50,7 +66,7 @@
Locate(e);
}
-function hideTooltip(e) {
+function hideTooltip() {
var d = document.getElementById("btc");
if (d.childNodes.length > 0) d.removeChild(d.firstChild);
}
More information about the Mashup-dev
mailing list