Search and Top Navigation
#8775 closed bug (fixed)
Opened November 05, 2012 06:15PM UTC
Closed November 07, 2012 03:08PM UTC
Last modified November 13, 2012 04:00PM UTC
Widget: Bridge fails if widgetFullName is not supplied
Reported by: | avinashrbhat | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.2 |
Component: | ui.widget | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
previously the plugin created for 1.8.16 was working perfectly. but lately after I upgraded to the 1.9.1 this functionality gets crippled. the error I encounter is:
TypeError: instance.option is not a function
PS: the plugin is not even being initialized.
- see the working version at (using jquery 1.7, ui 1.8.16): http://jsfiddle.net/Avinash_R/D2f9h/
- see the buggy version at (using jquery 1.8.2, ui 1.9.1): http://jsfiddle.net/Avinash_R/8H9tt/
Attachments (0)
Change History (6)
Changed November 05, 2012 06:39PM UTC by comment:1
status: | new → open |
---|
Changed November 05, 2012 07:02PM UTC by comment:2
Replying to [comment:1 scott.gonzalez]:
This broke in https://github.com/jquery/jquery-ui/commit/5fda4f6828ad523bd0692b76f903010a458fcac4. I suppose we can fall back to just the name if there's no full name. avinashrbhat: Does that sound good to you?
scott, i already made some changes to the original plugin that i was using to keep this bug from causing error. Also, as i write, I've found the culprit code and am trying to fixing it :-).
Changed November 07, 2012 03:06PM UTC by comment:3
summary: | plugins using $.widget.bridge breaks while porting from 1.8.16 -> 1.9.1 → Widget: Bridge fails if widgetFullName is not supplied |
---|
Changed November 07, 2012 03:08PM UTC by comment:4
resolution: | → fixed |
---|---|
status: | open → closed |
Widget: Bridge falls back to name if there is no widgetFullName, and always stores instances in data. Fixed #8775 - Widget: Bridge fails if widgetFullName is not supplied.
Changeset: 75bd22eb731f5a81099ad97c88eede3862195fec
Changed November 13, 2012 03:55PM UTC by comment:5
Widget: Bridge falls back to name if there is no widgetFullName, and always stores instances in data. Fixed #8775 - Widget: Bridge fails if widgetFullName is not supplied.
(cherry picked from commit 75bd22eb731f5a81099ad97c88eede3862195fec)
Changeset: 8f098d88061adbdc2ec3c7e849dffc13fcf3f6ef
Changed November 13, 2012 04:00PM UTC by comment:6
milestone: | 1.10.0 → 1.9.2 |
---|
This broke in https://github.com/jquery/jquery-ui/commit/5fda4f6828ad523bd0692b76f903010a458fcac4. I suppose we can fall back to just the name if there's no full name.
avinashrbhat: Does that sound good to you?