Skip to main content

Bug Tracker

Side navigation

#12607 closed bug (notabug)

Opened September 25, 2012 04:38PM UTC

Closed September 25, 2012 05:58PM UTC

Bridge function always returns false or this in jquery.ui.widget.js.

Reported by: abrel@exadel.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:
Description

Please,look in jquery.ui.widget.js at $.widget.bridge function and the following code inside it:

if ( methodValue !== instance && methodValue !== undefined ) {

returnValue = methodValue;

return false;

}

That code makes any function call to widget through bridge to return false or this(instance).

I suggest to return returnValue instead of false or comment out the return here.

Attachments (0)
Change History (1)

Changed September 25, 2012 05:58PM UTC by scottgonzalez comment:1

resolution: → notabug
status: newclosed

This was dual posted.