Hello All,

in FireFox 1.0.7 I get the following message:

Error: from has no properties
Sourcefile: http://qdr/source/script/managers/QxToolTipManager.js
Line: 109

The error occurs in a relative complex page where I use some other non-qooxdoo widgets (ActiveWidgets grid). I know that this is maybe due to the incompatibilites of qooxdoo and ActiveWidgets stuff.

Anyway: If an additional test is done in line 109 to assure from is valid before the method contains is called, the errormessage is avoided. This is a simple fix and should not do any harm to the qooxdoo logic. Please apply this fix. Unified diff is attached.

Thank you.

Best regards.

--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH

--- source/script/managers/QxToolTipManager.js.orig     2005-11-22 
09:39:48.264234000 +0100
+++ source/script/managers/QxToolTipManager.js  2005-11-22 09:40:16.328958000 
+0100
@@ -106,7 +106,7 @@
   };
 
   // If the destination target exists and the target contains it
-  if(to && from.contains(to)) {
+  if(to && from && from.contains(to)) {
     return;
   };
 

Reply via email to