r77118 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r77117
|
r77118
|
r77119
>
Date:
23:22, 22 November 2010
Author:
tparscal
Status:
ok
Tags:
Comment:
Updated use of placeholder plugin, as of
r76987
the plugin expects the attribute to be set rather than accepting the attribute as a parameter.
Modified paths:
/trunk/extensions/Vector/modules/ext.vector.simpleSearch.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/Vector/modules/ext.vector.simpleSearch.js
—
—
@@ -35,7 +35,9 @@
36
36
}
37
37
38
38
// Placeholder text for SimpleSearch box
39
- $( 'div#simpleSearch > input#searchInput' ).placeholder( mediaWiki.msg( 'vector-simplesearch-search' ) );
39
+ $( 'div#simpleSearch > input#searchInput' )
40
+ .val( mediaWiki.msg( 'vector-simplesearch-search' ) )
41
+ .placeholder();
40
42
41
43
// General suggestions functionality for all search boxes
42
44
$( '#searchInput, #searchInput2, #powerSearchText, #searchText' )
Follow-up revisions
Revision
Commit summary
Author
Date
r77125
Fixes previous commit (
r77118
) which set the value instead of the placeholder...
tparscal
00:50, 23 November 2010
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r76987
jquery.placeholder.js rewritten...
krinkle
00:12, 19 November 2010
Status & tagging log
12:54, 3 December 2010
Catrope
(
talk
|
contribs
)
changed the
status
of r77118
[
removed:
new
added:
ok]