WordPress/wp-includes/js/media
Scott Taylor 64e19e98a3 Use `Math.round()` instead of `Math.floor()` when determining page of attachments to query in `wp.media.model.Query.sync`.
This was causing an infinite loop of AJAX requests - so.... good catch!

Props Veritaserum.
Fixes #31116.

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


git-svn-id: http://core.svn.wordpress.org/trunk@31387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-10 22:54:28 +00:00
..
controllers Media JS files: 2015-02-09 16:01:29 +00:00
models 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
routers Media JS files: 2015-02-09 16:01:29 +00:00
utils Media JS files: 2015-02-09 16:01:29 +00:00
views Export the proper class in `media/views/image-details.js` 2015-02-09 23:46:28 +00:00
audio-video.js After [31386], this needs to happen in `audio-video.manifest.js`. 2015-02-09 18:45:26 +00:00
audio-video.manifest.js After [31386], this needs to happen in `audio-video.manifest.js`. 2015-02-09 18:45:26 +00:00
audio-video.min.js After [31386], this needs to happen in `audio-video.manifest.js`. 2015-02-09 18:45:26 +00:00
grid.js Media JS files: 2015-02-09 16:01:29 +00:00
grid.manifest.js Media JS files: 2015-02-09 16:01:29 +00:00
grid.min.js Media JS files: 2015-02-09 16:01:29 +00:00
models.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
models.manifest.js Media JS files: 2015-02-09 16:01:29 +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 Export the proper class in `media/views/image-details.js` 2015-02-09 23:46:28 +00:00
views.manifest.js Media JS files: 2015-02-09 16:01:29 +00:00
views.min.js Export the proper class in `media/views/image-details.js` 2015-02-09 23:46:28 +00:00