mirror of
git://develop.git.wordpress.org/
synced 2025-02-28 18:43:03 +01:00
Media: Ensure search box reflects actual search state.
* Also switches search box to use `<input type="search" />` to take advantage of browser UI to clear the field. fixes #22315, see #21390. git-svn-id: https://develop.svn.wordpress.org/trunk@22487 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e1d08f105d
commit
bb3dccd180
@ -2086,7 +2086,7 @@
|
||||
className: 'search',
|
||||
|
||||
attributes: {
|
||||
type: 'text',
|
||||
type: 'search',
|
||||
placeholder: l10n.search
|
||||
},
|
||||
|
||||
@ -2136,7 +2136,7 @@
|
||||
controller: this.controller,
|
||||
model: this.collection.props,
|
||||
priority: -40
|
||||
}) );
|
||||
}).render() );
|
||||
}
|
||||
|
||||
this.attachments = new media.view.Attachments({
|
||||
|
Loading…
x
Reference in New Issue
Block a user