Bug Tracker

Opened 7 years ago

Closed 7 years ago

#12607 closed bug (notabug)

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

Reported by: abrel@… 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.

Change History (1)

comment:1 Changed 7 years ago by scottgonzalez

Resolution: notabug
Status: newclosed

This was dual posted.

Note: See TracTickets for help on using tickets.