[fusion-commits] r1801 - trunk/lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Mon Feb 23 16:12:19 EST 2009
Author: madair
Date: 2009-02-23 16:12:17 -0500 (Mon, 23 Feb 2009)
New Revision: 1801
Modified:
trunk/lib/Widget.js
Log:
closes #215: add tooltip to UI objects
Modified: trunk/lib/Widget.js
===================================================================
--- trunk/lib/Widget.js 2009-02-23 15:46:08 UTC (rev 1800)
+++ trunk/lib/Widget.js 2009-02-23 21:12:17 UTC (rev 1801)
@@ -86,6 +86,9 @@
setUiObject: function(uiObj) {
Fusion.Widget.uiInstances[this.type].push(uiObj);
+ if (this.widgetTag.tooltip) {
+ uiObj.setTooltip(this.widgetTag.tooltip);
+ }
if (this.isExclusive) {
this.getMap().buttonSet.add(uiObj);
}
More information about the fusion-commits
mailing list