jquery.placeholder.js rewritten
authorKrinkle <krinkle@users.mediawiki.org>
Fri, 19 Nov 2010 00:12:43 +0000 (00:12 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Fri, 19 Nov 2010 00:12:43 +0000 (00:12 +0000)
commit1a95664a430814767f4361dd312be26904f02a8e
tree6641aa7665357cce5f49ddafaa126b913e1c9ea8
parentc345771e335dac40305d665ca990348f17cbfe57
jquery.placeholder.js rewritten
* Instead of calling placeholder() and passing the placeholder-text to it (which meant having to manage text-messages in javascript as well and calling it for each different one), it is now expected that the placeholder-attribute already exists on the page generated by PHP. placeholder() is then called on all input-elements with that attribute to provide fallback for browsers that don't support it.
resources/jquery/jquery.placeholder.js
resources/mediawiki.util/mediawiki.util.js