FLUID-5846: Attaching a tooltip to a container inside of an iframe prevents the closeAll method from working

Metadata

Source
FLUID-5846
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Justin Obara
Created
2016-01-22T09:42:15.341-0500
Updated
2016-02-04T15:55:52.100-0500
Versions
N/A
Fixed Versions
N/A
Component
  1. Tooltip

Description

This issue was discovered while working on FLUID-5837, which involved adding tooltips to the panel. The panel is rendered inside of the Separated Panel Prefs Editor's iframe. The tooltip is created properly and most of the functions work as expected; however, it will not ensure that only one tooltip is open at once. This functionality is mediated via the closeAll method which is called when a tooltip is opened. The closeAll method makes use of fluid.byId to find the target. However, no document argument is provided to fluid.byId, which results in the lookup occurring in the parent page rather than the iframe.

Comments