Commit Graph

98 Commits

Author SHA1 Message Date
Jon Cave 72256f1c27 Stop an incorrect comment total being displayed when a trashed/spammed comment is deleted or restored. Fixes #19029.
Also only run getUpdate() when necessary and remove reference to non-existent "span.total-type-count".


git-svn-id: https://develop.svn.wordpress.org/trunk@19068 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-26 08:47:16 +00:00
Andrew Ozz c9c3eb7a6d Use WP_Editor when editing or replying to comments, props ocean90, remove vendor specific selectors from editor-buttons.css, fixes #18348, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18803 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 21:07:08 +00:00
Jon Cave 3dbb79d859 Don't hide the comment reply or quick edit row if an error is returned. Props ocean90. Fixes #18350.
git-svn-id: https://develop.svn.wordpress.org/trunk@18650 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-07 19:48:25 +00:00
Andrew Ozz 3f921df606 Fix QTags.closeAllTags(), replace 'tb' with 'ed' in quicktags,js to make it clear it is the editor instance not the toolbar, small comments quick edit fixes, see #16695, fixes #15911
git-svn-id: https://develop.svn.wordpress.org/trunk@18576 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-20 19:55:51 +00:00
Andrew Ozz 6ce85719a7 Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18511 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 04:09:22 +00:00
Andrew Ozz 0674464f19 Remove debug remnants, props scribu, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18499 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:36:18 +00:00
Andrew Ozz d5a6cf3dfd Refactor Quicktags, props garyc40, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18497 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:11:12 +00:00
Ryan Boren 332d95b648 Validation fixes. Props ocean90, xknown. fixes #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18114 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 17:05:55 +00:00
Andrew Ozz e7d7300bc7 Fix background color for approved comments, props DH-Shredder, fixes #17405
git-svn-id: https://develop.svn.wordpress.org/trunk@18065 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-28 02:30:04 +00:00
Andrew Ozz 3a20d6aa17 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: https://develop.svn.wordpress.org/trunk@18027 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 01:04:12 +00:00
Andrew Ozz 730f9550ec Fix Reply and Approve when replying from the comment moderation page, see #15898
git-svn-id: https://develop.svn.wordpress.org/trunk@17983 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-21 17:11:13 +00:00
Andrew Ozz 0d5e03dd9f Don't show the Fullscreen button on the comment edit page, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17966 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 07:34:54 +00:00
Andrew Ozz c451b0050d jQuery 1.6.1 and fix for some small bugs that popped up while testing it, props JDTrower, fixes #17311
git-svn-id: https://develop.svn.wordpress.org/trunk@17907 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 22:00:31 +00:00
Andrew Ozz c244f12c8e Change comment Reply to Approve and Reply and auto-approve the comment if it is in moderation, props DH-Shredder, fixes #15898
git-svn-id: https://develop.svn.wordpress.org/trunk@17832 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-07 04:56:00 +00:00
Andrew Ozz c721f308ce Add quotes to [value="some"] selectors, see #16426
git-svn-id: https://develop.svn.wordpress.org/trunk@17777 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-30 02:15:08 +00:00
Ryan Boren bdd25aad05 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: https://develop.svn.wordpress.org/trunk@17354 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:47:42 +00:00
Mark Jaquith 4bca42b961 Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17344 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 21:17:12 +00:00
Mark Jaquith 19b385450e Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17343 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 20:28:41 +00:00
Mark Jaquith 57571e6675 Several list table JS fixes. restores XHR comment status changes. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17326 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-18 17:32:35 +00:00
Ryan Boren ee09d38544 Fix comment reply colspan. Props garyc40. fixes #15876
git-svn-id: https://develop.svn.wordpress.org/trunk@17124 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 17:21:29 +00:00
Ryan Boren 9f9f401c42 Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
git-svn-id: https://develop.svn.wordpress.org/trunk@17113 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 19:03:43 +00:00
Ryan Boren 034024021a Comment reply and quick edit js fixes. Props garyc40. fixes #15908
git-svn-id: https://develop.svn.wordpress.org/trunk@17089 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 17:53:50 +00:00
Andrew Nacin ed9ce46089 Fix placeholder issues when removing comments. props garyc40, fixes #15879.
git-svn-id: https://develop.svn.wordpress.org/trunk@17081 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 15:26:44 +00:00
Andrew Nacin d8871ce771 Don't refill the comment list when undoing a spam action on a comment. props greuben, fixes #15884.
git-svn-id: https://develop.svn.wordpress.org/trunk@17066 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:14:09 +00:00
scribu 1d3a1c1460 Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
git-svn-id: https://develop.svn.wordpress.org/trunk@16911 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 11:53:31 +00:00
Ryan Boren 277bf53130 Fix bulk comment keyboard shortcuts. Props duck_. fixes #15571
git-svn-id: https://develop.svn.wordpress.org/trunk@16647 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 16:51:20 +00:00
scribu 907353550e Get rid of in favor of . Fixes #15607. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16617 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 20:15:04 +00:00
scribu cb38e81d23 re-minify edit-comments.js. See #15504
git-svn-id: https://develop.svn.wordpress.org/trunk@16517 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:03:54 +00:00
scribu 4b4c95799a Rename admin-table.js to list-table.js
git-svn-id: https://develop.svn.wordpress.org/trunk@15530 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 01:59:13 +00:00
scribu 2c7897bd78 Use adminTable to refill #the-extra-comment-list. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15509 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 00:06:51 +00:00
Andrew Nacin d27993d65b Squeeze out some bytes via munging.
git-svn-id: https://develop.svn.wordpress.org/trunk@14992 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 13:39:44 +00:00
Dion Hulse f42b2b775b Uncheck rows on comments page when hiding rows so as to not affect it by Bulk edits. Fixes #12365
git-svn-id: https://develop.svn.wordpress.org/trunk@14143 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 07:37:45 +00:00
Andrew Ozz b83aada923 Fix Right Now comments counts when only one comment exists
git-svn-id: https://develop.svn.wordpress.org/trunk@12294 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 01:53:25 +00:00
Andrew Ozz a03d21af84 Fix Right Now comments counts for trash, spam or undo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12293 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 00:49:33 +00:00
Andrew Ozz a0ea0aa4ed Tweak colors for trash, spam and undo of comments, fix IE6/7 background for unapproved comments, fix JS error in IE6/7, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12291 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-29 10:29:12 +00:00
Andrew Ozz ed11892e7f Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12289 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-28 02:56:15 +00:00
Andrew Ozz a675276ce5 Undo for setting a comment as spam, props caesarsgrunt, fixes #11260, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12286 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-27 10:34:09 +00:00
Andrew Ozz f066b7dc39 Stop the fade-out of the Undo notices on Edit Comments screen, props caesarsgrunt, fixes #11259, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12278 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 04:37:39 +00:00
Andrew Ozz c875acd15d Always show "Configure" links on dashboard widgets in IE6, fix "Right Now" comments counts, fixes #11129
git-svn-id: https://develop.svn.wordpress.org/trunk@12183 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 05:39:17 +00:00
Andrew Ozz 78b67c6387 Fix Undo row timeout on Edit Comments screen, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12154 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-07 00:50:28 +00:00
Andrew Ozz 7bbf1c2489 Fix IE8 reply to comments from admin fade in/out, decrease comment undo timeout, hide comment reply when moving to trash, fixes #9896
git-svn-id: https://develop.svn.wordpress.org/trunk@12139 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-03 08:28:59 +00:00
Andrew Ozz 7e5f17cd68 Fix replying to comments from admin, props josephscott
git-svn-id: https://develop.svn.wordpress.org/trunk@12071 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-20 17:45:12 +00:00
Andrew Ozz 226abaca88 Smoooth animations for comment move to trash and undo, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12050 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 05:59:03 +00:00
Andrew Ozz 158ddd44ef Adjust comment moderation shortcut keys: d = trash or delete depending on the screen
git-svn-id: https://develop.svn.wordpress.org/trunk@12016 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-09 23:28:06 +00:00
Andrew Ozz 9a76ba48d9 Add l10n thousands delimiter and decimal point to JS, fix updating of comments numbers on the dashboard and keyboard shortcuts for comments moderation (t = trash, z = restore/undo)
git-svn-id: https://develop.svn.wordpress.org/trunk@12015 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-09 09:02:22 +00:00
Andrew Ozz 59981a3d5b Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12008 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 08:24:59 +00:00
Andrew Ozz d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Andrew Ozz 8db7e5a07c "Trash" status for comments, first run, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11731 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 03:11:12 +00:00
Andrew Ozz 861fd5e250 Fix pending comments count, paging and comments requests while moderating for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11660 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-27 22:40:06 +00:00
Andrew Ozz d74690aa2e Don't ask for confirmation when marking a comment as spam
git-svn-id: https://develop.svn.wordpress.org/trunk@10531 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-09 22:46:27 +00:00