Author: artdaw
Date: 2011-01-19 08:23:48 -0500 (Wed, 19 Jan 2011)
New Revision: 21081
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/tooltip.js
Log:
RF-9739: default offsets [10,10] is adjusted
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/tooltip.js
===================================================================
---
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/tooltip.js 2011-01-19
13:23:47 UTC (rev 21080)
+++
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/tooltip.js 2011-01-19
13:23:48 UTC (rev 21081)
@@ -28,17 +28,16 @@
rf.ui.TooltipMode = {
client : "client",
ajax : "ajax",
-
DEFAULT: "client"
};
+
var TooltipMode = rf.ui.TooltipMode;
var DEFAULT_OPTIONS = {
jointPoint : "AA",
direction : "AA",
- offset: [0,0],
- attached : true,
offset : [10, 10],
+ attached : true,
mode : TooltipMode.DEFAULT,
disabled : false,
hideDelay : 0,
@@ -104,7 +103,6 @@
*
* @constructor
* @param {String} componentId - component id
- * @param {Hash} options - params
* */
init : function (componentId, options) {
$super.constructor.call(this, componentId);
@@ -141,7 +139,7 @@
}
});
- $(document.getElementById(tooltip.target)).bind(this.options.hideEvent,
function (event) {
+ $(document.getElementById(tooltip.target)).bind(this.options.hideEvent,
function () {
tooltip.hide();
if (tooltip.options.followMouse) {
Show replies by date