FLUID-5075: textfieldSlider code not enclosed in a closure defining $

Metadata

Source
FLUID-5075
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Anastasia Cheetham
Created
2013-06-27T16:37:27.252-0400
Updated
2013-08-16T10:56:03.063-0400
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. UI Options

Description

The textfieldSlider code is not wrapped in the usual closure, and so when $ is used in fluid.textfieldSlider.slider.init() here:

https://github.com/fluid-project/infusion/blob/master/src/components/uiOptions/js/TextfieldSlider.js#L163

it can result in an error. This is happening in a drupal installation where jQuery is being provided by drupal instead of Infusion.

Comments