Commit Graph

117 Commits

Author SHA1 Message Date
Sergey Biryukov 78a9cb855e Fix displaying taxonomies in bulk edit if the post type does not support titles.
props scribu.
fixes #16793.
Built from https://develop.svn.wordpress.org/trunk@28600


git-svn-id: http://core.svn.wordpress.org/trunk@28425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-28 13:50:14 +00:00
Andrew Ozz 0f20e57329 Heartbeat:
- Bring back heartbeat.interval().
- Rename wp_disable_heartbeat_suspend() to wp_heartbeat_set_suspension().
- Rename the option for disabling suspension from options.suspend to options.suspension.
Fixes #25073.
Built from https://develop.svn.wordpress.org/trunk@26549


git-svn-id: http://core.svn.wordpress.org/trunk@26441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:45:10 +00:00
Andrew Nacin 6212b30ddd JShint fixes for inline-edit-post.js.
props dougwollison.
fixes #26001.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:32:10 +00:00
Andrew Ozz 188fce6c9b Heartbeat: clean up code style, better naming, better code structure. Props carldanley, props evansolomon.
Changes:
- Add connectNow() public method to trigger a connection immediately.
- Remove the "skipping" when no data to send.
- Change the default interval to 60 sec.
- Fix resetting the next connection time when changing the interval.
See #25073.
Built from https://develop.svn.wordpress.org/trunk@26169


git-svn-id: http://core.svn.wordpress.org/trunk@26078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 18:41:10 +00:00
Sergey Biryukov e64191e739 Change jQuery selector in Quick Edit to avoid losing data in IE8.
fixes #24923 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26123


git-svn-id: http://core.svn.wordpress.org/trunk@26035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:06:09 +00:00
Andrew Nacin b6d680174d List tables: When executing a search, reset the Bulk Actions dropdown to avoid the search from failing.
props c3mdigital, vinod-dalvi.
fixes #25034.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 01:09:10 +00:00
Scott Taylor ea352cde7c Revert [25663] for UX discussion
Built from https://develop.svn.wordpress.org/trunk@25667


git-svn-id: http://core.svn.wordpress.org/trunk@25583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 20:53:09 +00:00
Scott Taylor 0793f55437 When Quick Edit'ing a page, checks if edited page has a new parent and moves the row underneath that one. If the parent doesn't exist on this page then it hides the row altogether.
Props solarissmoke, MikeHansenMe.
Fixes #14188.


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


git-svn-id: http://core.svn.wordpress.org/trunk@25579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 20:38:09 +00:00
Helen Hou-Sandí 2e584b5e09 Allow all non-visible default row actions in the admin to be accessed via keyboard. fixes #21334.
Built from https://develop.svn.wordpress.org/trunk@25595


git-svn-id: http://core.svn.wordpress.org/trunk@25512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-24 02:50:09 +00:00
Helen Hou-Sandí 185655f89d Allow non-visible post row actions to be accessed via keyboard. props adamsilverstein, lessbloat. fixes #21334.
Built from https://develop.svn.wordpress.org/trunk@25593


git-svn-id: http://core.svn.wordpress.org/trunk@25510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-24 02:04:10 +00:00
Helen Hou-Sandí 9adfd648a8 Make sure quick edited non-alternate list table rows don't become alternate. props mordauk. fixes #24951.
Built from https://develop.svn.wordpress.org/trunk@25039


git-svn-id: http://core.svn.wordpress.org/trunk@25026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-16 20:19:09 +00:00
Mark Jaquith 5f19c95249 Gracefully slide down the "{Name} is editing" notice portion of the post row, so everything isn't shifting down in an instant and throwing off people's clicks.
fixes #24553. props kadamwhite, johnbillion.

git-svn-id: http://core.svn.wordpress.org/trunk@24576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 23:17:25 +00:00
Andrew Ozz 0fff739949 Heartbeat: rename some vars/args to make them more intuitive, don't set user_id on every request, see #23216
git-svn-id: http://core.svn.wordpress.org/trunk@24406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-05 00:13:40 +00:00
Andrew Ozz 4c04bf0012 Post locks: do not check locks on the Posts screen if the list table is empty, see #23697
git-svn-id: http://core.svn.wordpress.org/trunk@24299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 04:10:43 +00:00
Andrew Ozz 3b4b058275 Post locks on the posts list screen: new icons for the lock, props empireoflight, show avatar for the user currently editing, props dh-shredder, see #23312
git-svn-id: http://core.svn.wordpress.org/trunk@23681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 00:28:07 +00:00
Andrew Nacin 2a956dd5b7 Stop using jQuery.live(). props ocean90. see #22975.
git-svn-id: http://core.svn.wordpress.org/trunk@23444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-16 17:46:12 +00:00
Helen Hou-Sandí 28f6c5bcf4 Remove the long-broken and questionably useful [more]/[less] toggle for hierarchical taxonomies in Quick/Bulk Edit. Nobody seems to have noticed in the nearly 3 years it's been broken. fixes #23006
git-svn-id: http://core.svn.wordpress.org/trunk@23354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-28 22:36:15 +00:00
Andrew Nacin ef662a5822 Use jQuery .html() when processing HTML.
git-svn-id: http://core.svn.wordpress.org/trunk@22916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-29 02:42:06 +00:00
Andrew Nacin 1acd8b556f New HiDPI spinner. Uses clean <span class="spinner"></span> markup.
Be on the lookout for weirdness.
props lessbloat. see #21456.



git-svn-id: http://core.svn.wordpress.org/trunk@22019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 19:57:44 +00:00
Andrew Nacin 2710bcade1 Switch to .min for compressed JS and CSS files.
* This moves our "development" versions from .dev.js to .js (same for css).
 * The compressed version then moves from .js to .min.js (same for css).

By switching to the standard .min convention, it sets expectations for developers,
and works nicely with existing tools such as ack.

fixes #21633.



git-svn-id: http://core.svn.wordpress.org/trunk@21592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 00:04:18 +00:00
bumpbot af84dbcf93 Compress scripts/styles: 3.4-alpha-20192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 13:58:27 +00:00
bumpbot a1fa25ee77 Compress scripts/styles: 3.4-alpha-19931.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-15 19:27:20 +00:00
bumpbot afb70b3f36 Compress scripts/styles: 3.4-alpha-19854.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 18:30:51 +00:00
nacin 798ccd0c97 Fix tags suggest for bulk edit, for post_type post and taxonomy post_tag. Address all non-hierarchical taxonomies in 3.4. fixes #19716, props scottbasgaard.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:25:49 +00:00
nacin 02f57cbf59 Merge and update variable declarations. fixes #19176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:45:24 +00:00
duck_ 16daac44ec Show the current post format in quick edit even if it's not supported. Props nacin, fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 17:48:07 +00:00
duck_ 698957e40e Add post formats to quick edit and bulk edit. Fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 17:02:58 +00:00
azaozz ec2778daa9 Do not run bulk edit when the user clicks on a filter, fixes #17733
git-svn-id: http://svn.automattic.com/wordpress/trunk@18222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 00:01:16 +00:00
azaozz 31e257b3c9 Fix quick edit error message styling, props solarissmoke, fixes #16912, fixes #14317
Fix top margin in bulk edit posts

git-svn-id: http://svn.automattic.com/wordpress/trunk@18158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 01:14:26 +00:00
westi 898e239ee2 Scroll up to the top when bulk editing so the form is completely visible. Fixes #17208 props greuben.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 09:56:12 +00:00
azaozz 65f9c441a7 Replace .attr() with .prop() as per jQuery 1.6.1. Also fixes couple places where the JS wasn't working because attr('some', '') does not remove the HTML property now, see #17311
git-svn-id: http://svn.automattic.com/wordpress/trunk@18027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 01:04:12 +00:00
azaozz 9e4bee6c26 Add quotes to [value="some"] selectors, see #16426
git-svn-id: http://svn.automattic.com/wordpress/trunk@17777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 02:15:08 +00:00
markjaquith 05c334b51d script compress and bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 07:17:22 +00:00
scribu 020ce73746 Ajaxify list-type screens in the admin. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-11 21:54:51 +00:00
ryan 37bfdee064 Custom taxonomy support for inline edit. Props prettyboymp. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 15:48:01 +00:00
ryan 803dd8b7c2 Handle custom post types in inline edit js. Props jfarthing84. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 17:21:33 +00:00
azaozz ae20d06e94 Fix errors when bulk actions executed on empty list, props nacin, see #11184
git-svn-id: http://svn.automattic.com/wordpress/trunk@12317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 01:43:49 +00:00
markjaquith 169c14b225 Add the author to the quick edit dropdown author list if they currently lack the ability to edit so as to avoid stealing their post away from them. fixes #10967
git-svn-id: http://svn.automattic.com/wordpress/trunk@12046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-17 05:18:29 +00:00
azaozz f48bea5721 Improve QE data for Draft, Pending and Scheduled posts screens, see #10478
git-svn-id: http://svn.automattic.com/wordpress/trunk@11743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-25 12:21:55 +00:00
azaozz bdbaca9056 Fix QE returned data for Pending and Scheduled posts screens, use jQuery.live() for QE events, fixes #10478
git-svn-id: http://svn.automattic.com/wordpress/trunk@11742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-25 10:58:05 +00:00
azaozz df5d6a5cba Remove events from categories chechboxes in quick edit to speed up page unload, see #8957
git-svn-id: http://svn.automattic.com/wordpress/trunk@10444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-26 14:23:39 +00:00
azaozz f254dfbbf3 Fix tags suggest for post quick edit and bulk edit
git-svn-id: http://svn.automattic.com/wordpress/trunk@10402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 12:24:25 +00:00
azaozz 1c9353ad2e Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: http://svn.automattic.com/wordpress/trunk@10348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-12 13:43:17 +00:00
azaozz a750885c8e Minify all js and add the non-minified files as .dev.js
git-svn-id: http://svn.automattic.com/wordpress/trunk@10291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-02 15:08:58 +00:00
azaozz b54484f937 Faster hide-if-no-js, if-js-closed, etc. needed when loading scripts in the footer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-27 12:18:38 +00:00
azaozz 57b4d9966c Fix urlencoded chars in links after using QE
git-svn-id: http://svn.automattic.com/wordpress/trunk@10101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 05:14:49 +00:00
markjaquith fc5e8dfe58 Make Password protected and private mutually exclusive when using Quick Edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 11:10:24 +00:00
azaozz de0dcadf14 Bulk Edit improvements, includes patch by FFEMTcJ, fixes #8376
git-svn-id: http://svn.automattic.com/wordpress/trunk@9973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 03:51:45 +00:00
azaozz eb42b45767 QE: set colspan and fix IE input field width
git-svn-id: http://svn.automattic.com/wordpress/trunk@9738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 20:08:38 +00:00
azaozz a4da82e877 CSS fixes and improvements, also IE7 and some IE6 fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 18:01:00 +00:00
azaozz 5ca12b7518 Show a space as thousands separator for comments count when setting from js, hide ajax throbber when QE returns an error, see#8227 fixes #8225
git-svn-id: http://svn.automattic.com/wordpress/trunk@9726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 21:58:51 +00:00
azaozz f0804b3c26 QE: fix notices and check if the returned string contains the row HTML, props DD32, fixes #8115
git-svn-id: http://svn.automattic.com/wordpress/trunk@9712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 12:04:38 +00:00
azaozz 072293c36b Update styling on link pages, fix state saving for link cats, no green bg after quick editing a post fixes #8143
git-svn-id: http://svn.automattic.com/wordpress/trunk@9703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 23:58:17 +00:00
azaozz 3f5a70545d Add check for bulk-edit when deleting posts/pages, see #8135
git-svn-id: http://svn.automattic.com/wordpress/trunk@9607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 11:34:08 +00:00
azaozz 41870c14a8 New design of Quick/Bulk Edit (added some colors and IE fixes), props mdawaffe, see #8144
git-svn-id: http://svn.automattic.com/wordpress/trunk@9604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 02:58:24 +00:00
azaozz 4da15b97ea Do not show comments column after quick editing a post from the Drafts screen, fixes #8113
git-svn-id: http://svn.automattic.com/wordpress/trunk@9585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 08:58:32 +00:00
azaozz c5af1c84e3 Press Enter to save in Quick Edit, props aaron_guitar, fixes #8061
git-svn-id: http://svn.automattic.com/wordpress/trunk@9566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 06:54:42 +00:00
azaozz 65f0830a83 Do not hide "Quick Edit" link after saving from QE, fixes #8060
git-svn-id: http://svn.automattic.com/wordpress/trunk@9519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 23:48:29 +00:00
azaozz 829acc86dc Fix quick editing of last page in Edit Pages, props yoshi, fixes #8044
git-svn-id: http://svn.automattic.com/wordpress/trunk@9495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 17:37:20 +00:00
azaozz 8c92b61171 Fix bulk edit and preview url
git-svn-id: http://svn.automattic.com/wordpress/trunk@9453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 01:15:22 +00:00
azaozz 68e1a688dc Disable dblclick for pages, posts and taxonomy QE
git-svn-id: http://svn.automattic.com/wordpress/trunk@9439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 18:31:26 +00:00
azaozz 002d07c3af Remove Quick Edit when clicking search or filter buttons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 20:50:20 +00:00
ryan 710529051d Remove titles from inline edit rows
git-svn-id: http://svn.automattic.com/wordpress/trunk@9298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 16:37:19 +00:00
ryan 838f6b5d93 Bring back Quick Edit links
git-svn-id: http://svn.automattic.com/wordpress/trunk@9297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 16:34:21 +00:00
azaozz 0a7871c4ab Quick Edit: remove action links, remove row titles, add hint in footer
git-svn-id: http://svn.automattic.com/wordpress/trunk@9162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 10:33:18 +00:00
azaozz 6288b2b867 Convert the comment reply popup to a temp table row for consistency, add Quick Edit for comments, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@9098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 01:18:16 +00:00
azaozz dc564f4792 Quick Edit for Tags, Categories and Link Categories, improvements to handling errors in quick and bulk edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-05 04:43:52 +00:00