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:
Daryl Koopersmith 2012-11-09 04:44:31 +00:00
parent e1d08f105d
commit bb3dccd180
1 changed files with 2 additions and 2 deletions

View File

@ -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({