#8775 closed bug (fixed)
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/
Change History (6)
comment:1 follow-up: 2 Changed 10 years ago by
Status: | new → open |
---|
comment:2 Changed 10 years ago by
Replying to 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 :-).
comment:3 Changed 10 years ago by
Summary: | plugins using $.widget.bridge breaks while porting from 1.8.16 -> 1.9.1 → Widget: Bridge fails if widgetFullName is not supplied |
---|
comment:4 Changed 10 years ago by
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
comment:5 Changed 10 years ago by
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
comment:6 Changed 10 years ago by
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?