From 343dc0209469f71b3c654ae01b19bc5084c77e95 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Sun, 21 Jan 2007 21:23:02 +0000 Subject: - Draggable epg-evnts tooltips. They don't get closed automaticaly. It is possible to have more of them open at one time. This makes it possible to have tooltips also inside the epg-event boxes. This is an experimental setting and is only a domTT configuration option. - Found and preliminary fixed a bug in domTT for sticky tooltips (like the epg-event boxes) that don't have a domTT-caption (domTT option caption set to false for design reasons). When they are set to draggable domTT crashes. I added a fix to this, that makes the whole box draggable with the mouse. Idealy one would like to have this beheaviour only in the title bar. Will try to report this bug upstream to domTT developer. - Added some translations for new strings. --- javascript/domTT.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'javascript') diff --git a/javascript/domTT.js b/javascript/domTT.js index 60ce446..8cadb68 100644 --- a/javascript/domTT.js +++ b/javascript/domTT.js @@ -1,4 +1,4 @@ -/** $Id: domTT.js,v 1.1 2007/01/04 22:29:18 thomas Exp $ */ +/** $Id: domTT.js,v 1.2 2007/01/21 21:23:02 tadi Exp $ */ // {{{ license /* @@ -589,6 +589,11 @@ function domTT_create(in_options) { if (in_options.get('position') == 'absolute' && domTT_dragEnabled && in_options.get('draggable')) { + // inserted by tadi: begin + if (typeof(captionRow) == 'undefined') { + captionRow = tipObj; + } + // inserted by tadi: end if (domLib_isIE) { captionRow.onselectstart = function() { return false; }; -- cgit v1.2.3