Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-Beta
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Tomcat 7.0.12
-
Assignee Priority:P1
Description
The poc has been updated to use the ace:tooltip with displayListener in Screen2. When hovering over the ace:tooltip the following javascript error shows up in the console:
this.target.parents is not a function
[Break On This Error] formId = this.target.parents('form:first').attr('id');
In tooltip.js:
ice.ace.Tooltip.prototype.triggerDisplayListener = function() {
formId = this.target.parents('form:first').attr('id');
this.target.parents is not a function
[Break On This Error] formId = this.target.parents('form:first').attr('id');
In tooltip.js:
ice.ace.Tooltip.prototype.triggerDisplayListener = function() {
formId = this.target.parents('form:first').attr('id');
Downloaded qTip 1.0.0-rc3. Copyright header is exactly the same, so we can safely use the uncompressed source code instead of the existing compressed source code.
Also downloaded and used the qTip debug plugin. See screenshot-02.png for the debug mode in action.
Error fixed. Bug is in our code added to PF code, not in qTip code.
Revision: 26089
Added : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/resources/icefaces.ace/tooltip/jquery.qtip-1.0.0-rc3.js
Added : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/resources/icefaces.ace/tooltip/jquery.qtip-1.0.0-rc3.min.js
Added : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/resources/icefaces.ace/tooltip/jquery.qtip.debug-1.0.0-rc3.js
Modified : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/resources/icefaces.ace/tooltip/tooltip.js
Modified : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/src/org/icefaces/ace/component/tooltip/TooltipMeta.java