Last modified: 2012-09-27 01:11:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27726, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25726 - Use .live to attach the handler for ext.vector.collapsibleNav.js
Use .live to attach the handler for ext.vector.collapsibleNav.js
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-31 18:44 UTC by DieBuche
Modified: 2012-09-27 01:11 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
.mousedown -> .live (514 bytes, patch)
2010-10-31 18:44 UTC, DieBuche
Details

Description DieBuche 2010-10-31 18:44:45 UTC
Created attachment 7770 [details]
.mousedown -> .live

See the patch.
This would enable us to append other sections later on & have them work immediately. (eg. relevant for http://commons.wikimedia.org/wiki/MediaWiki:InterProject.js)

Tested on localhost, can't see any regressions
Comment 1 Derk-Jan Hartman 2010-10-31 23:28:43 UTC
I like the idea. Wouldn't delegate() be more efficient however ?

http://api.jquery.com/delegate/ vs
http://api.jquery.com/live/
Comment 2 Roan Kattouw 2010-11-01 15:06:46 UTC
(In reply to comment #1)
> I like the idea. Wouldn't delegate() be more efficient however ?
> 
Did that in r75793.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links