Make WordPress Core

Changeset 22487


Ignore:
Timestamp:
11/09/2012 04:44:31 AM (11 years ago)
Author:
koopersmith
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/media-views.js

    r22482 r22487  
    20872087
    20882088        attributes: {
    2089             type:        'text',
     2089            type:        'search',
    20902090            placeholder: l10n.search
    20912091        },
     
    21372137                    model:      this.collection.props,
    21382138                    priority:   -40
    2139                 }) );
     2139                }).render() );
    21402140            }
    21412141
Note: See TracChangeset for help on using the changeset viewer.