Metadata
- Source
- FLUID-5966
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Justin Obara
- Created
2016-09-21T16:28:35.663-0400 - Updated
2019-07-12T09:16:17.687-0400 - Versions
- N/A
- Fixed Versions
-
- 2.0
- Component
-
- Framework
- Prefs Framework
Description
When trying to upgrading to jQuery v3.1 ( see: FLUID-5825 ), it was discovered that jQuery has now removed the "selector" property from their objects. The "selector" and "context" properties have been deprecated since v1.9 and were officially removed in v3.0 ( https://jquery.com/upgrade-guide/3.0/#breaking-change-deprecated-context-and-selector-properties-removed ).
The DOM Binder has taken care of re-adding these properties to the jQuery objects resolved through it. However, Panels.js from the Prefs Framework requires the "selector" property when reseting the DOM binder in sub panels.
It is necessary to add the context and selector properties back to component containers created with fluid.container in FluidView.js and with fluid.prefs.subPanel.resetDomBinder in Panels.js. ( the sub panel does a manual recreation of the container to ensure that it is sourced from an attached DOM element in the correct document – e.g. iframe ) ( see: FLUID-4536 )
Comments
-
Justin Obara commented
2016-09-21T16:29:37.513-0400 This issue is being addressed with work for FLUID-5825. See PR ( https://github.com/fluid-project/infusion/pull/752 )