Last modified: 2013-11-30 14:41:07 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 T57651, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55651 - jquery.placeholder.js should implement an attrHook
jquery.placeholder.js should implement an attrHook
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.22.0
All All
: Normal enhancement (vote)
: 1.23.0 release
Assigned To: Nobody - You can work on this!
:
Depends on: 57179
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-12 08:05 UTC by Daniel Friesen
Modified: 2013-11-30 14:41 UTC (History)
3 users (show)

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


Attachments

Description Daniel Friesen 2013-10-12 08:05:02 UTC
jQuery exposes attrHooks which can be used to influence the behaviour of .attr( 'placeholder' ); and .attr( 'placeholder', '...' );

Our jquery.placeholder.js shim should implement one for 'placeholder' so that .attr( 'placeholder', '...' ); behaves like .placeholder( '...' );
Comment 1 Bartosz Dziewoński 2013-11-30 14:41:07 UTC
I think this works now that I1ecca3d8 is merged, I'd appreciate if you could verify.

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


Navigation
Links