WordPress/wp-includes/js/media
Scott Taylor a8dcd7aced Persist search terms across grid/list modes:
* In `grid` mode, when the page loads and `s` is in the URL, all attachments are loaded and then the search value is set, which will filter the attachments. If the page loads with the attachments already filtered, the library will have to be requery'd to get the full set, which will require weirder code.
* When a user searches, the mode-switcher link for `list` view is updated dynamically to represent the current `location.href` in the proper `mode=` and `s=` context.

Fixes #30583.

Built from https://develop.svn.wordpress.org/trunk@31562


git-svn-id: http://core.svn.wordpress.org/trunk@31543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-26 23:01:25 +00:00
..
controllers Make sure the grid build does not load files from the views build. 2015-02-22 08:47:25 +00:00
models Specify globals in media JS files - it is important to denote where we are diverging from dependency injection. 2015-02-22 06:56:27 +00:00
routers Media JS files: 2015-02-22 07:25:27 +00:00
utils Specify globals in media JS files - it is important to denote where we are diverging from dependency injection. 2015-02-22 06:56:27 +00:00
views Persist search terms across grid/list modes: 2015-02-26 23:01:25 +00:00
audio-video.js Make sure the audio-video build does not load files from the views build. 2015-02-22 08:29:25 +00:00
audio-video.manifest.js Specify globals in media JS files - it is important to denote where we are diverging from dependency injection. 2015-02-22 06:56:27 +00:00
audio-video.min.js Make sure the audio-video build does not load files from the views build. 2015-02-22 08:29:25 +00:00
grid.js Persist search terms across grid/list modes: 2015-02-26 23:01:25 +00:00
grid.manifest.js Media JS files: 2015-02-22 07:25:27 +00:00
grid.min.js Persist search terms across grid/list modes: 2015-02-26 23:01:25 +00:00
models.js Specify globals in media JS files - it is important to denote where we are diverging from dependency injection. 2015-02-22 06:56:27 +00:00
models.manifest.js Specify globals in media JS files - it is important to denote where we are diverging from dependency injection. 2015-02-22 06:56:27 +00:00
models.min.js Use Math.round() instead of Math.floor() when determining page of attachments to query in wp.media.model.Query.sync. 2015-02-10 22:54:28 +00:00
views.js Make sure the grid build does not load files from the views build. 2015-02-22 08:47:25 +00:00
views.manifest.js Make sure the grid build does not load files from the views build. 2015-02-22 08:47:25 +00:00
views.min.js Make sure the grid build does not load files from the views build. 2015-02-22 08:47:25 +00:00