mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +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: http://core.svn.wordpress.org/trunk@22487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9d7cb4ac7a
commit
9c4214745b
@ -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…
Reference in New Issue
Block a user