duck_
192a2e2f31
Don't call updatePending() if the pending count hasn't changed. See #19905 .
...
Stops a zero pending count bubble being shown when unspamming and approved comment
when there are no pending comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 14:32:45 +00:00
azaozz
52f321913a
Add new comment from post edit screen, partial props: garyc40, see #15527
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 01:30:11 +00:00
duck_
0d06815963
Fix incorrect pending comment count updates for filtered views. Fixes #19905 .
...
Pass the difference (i.e. 1 or -1) to updatePending() so that the current
pending count is changed for each element independently. Also move several
functions back out of the global scope, see r17832 for their introduction.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 23:29:24 +00:00
nacin
4d8609635c
Don't add in an extra space when inserting a name into the string produced by wp_comment_trashnotice(). props pavelevap, see #19788 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:39:52 +00:00
ryan
616c35e71c
One newline is enough.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:10:39 +00:00
duck_
5e3fe22bac
Allow "Approve and Reply" background-color animation to complete on the Dashboard. Props ocean90. Fixes #18349 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 17:57:53 +00:00
duck_
7ba5b2f7a3
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: http://svn.automattic.com/wordpress/trunk@19068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-26 08:47:16 +00:00
azaozz
d58e337d24
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: http://svn.automattic.com/wordpress/trunk@18803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 21:07:08 +00:00
duck_
6841d365e5
Don't hide the comment reply or quick edit row if an error is returned. Props ocean90. Fixes #18350 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 19:48:25 +00:00
azaozz
6041cd0410
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: http://svn.automattic.com/wordpress/trunk@18576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-20 19:55:51 +00:00
azaozz
042a03f384
Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 04:09:22 +00:00
azaozz
3713abe855
Remove debug remnants, props scribu, see #16695
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:36:18 +00:00
azaozz
230fb8f3e3
Refactor Quicktags, props garyc40, see #16695
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:11:12 +00:00
ryan
daa14c36f9
Bring out the pinking shears.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:01:45 +00:00
ryan
15a6a89eb0
Validation fixes. Props ocean90, xknown. fixes #17364
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 17:05:55 +00:00
azaozz
b6fff6534a
Fix background color for approved comments, props DH-Shredder, fixes #17405
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-28 02:30:04 +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
7815408b7a
Fix Reply and Approve when replying from the comment moderation page, see #15898
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-21 17:11:13 +00:00
azaozz
96c6667c5c
Don't show the Fullscreen button on the comment edit page, see #17136
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 07:34:54 +00:00
azaozz
b1fe99c5ce
jQuery 1.6.1 and fix for some small bugs that popped up while testing it, props JDTrower, fixes #17311
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 22:00:31 +00:00
azaozz
b3a5a78607
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: http://svn.automattic.com/wordpress/trunk@17832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 04:56:00 +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
ryan
f63ccddadb
Pink the whites.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:35:36 +00:00
ryan
862b5e4da7
Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:47:42 +00:00
markjaquith
47c8008257
Fix the comments "river." issue 9. props garyc40. see #16262
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 21:17:12 +00:00
markjaquith
acd8d41b65
Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 20:28:41 +00:00
markjaquith
fb6bed81c7
Several list table JS fixes. restores XHR comment status changes. props garyc40. see #16262
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-18 17:32:35 +00:00
ryan
85f1feed84
Bring out the shears.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 04:11:14 +00:00
ryan
476e468faf
Fix comment reply colspan. Props garyc40. fixes #15876
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 17:21:29 +00:00
ryan
edc2f694ad
Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 19:03:43 +00:00
ryan
8a8785c98b
Comment reply and quick edit js fixes. Props garyc40. fixes #15908
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 17:53:50 +00:00
nacin
60a828c31f
Fix placeholder issues when removing comments. props garyc40, fixes #15879 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 15:26:44 +00:00
nacin
dfe2759a06
Don't refill the comment list when undoing a spam action on a comment. props greuben, fixes #15884 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 21:14:09 +00:00
scribu
e6d0e7a509
Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 11:53:31 +00:00
ryan
b9fe49b63d
Fix bulk comment keyboard shortcuts. Props duck_. fixes #15571
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 16:51:20 +00:00
scribu
6eff593e14
Get rid of in favor of . Fixes #15607 . See #15580
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 20:15:04 +00:00
scribu
24e168cff6
Use event delegation in edit-comments.js. Fixes #15504
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 22:02:25 +00:00
scribu
ab4fc9bba9
Rename admin-table.js to list-table.js
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 01:59:13 +00:00
scribu
196de8fce6
Use adminTable to refill #the-extra-comment-list. See #14637
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-19 00:06:51 +00:00
scribu
071746cc11
Fix the Trash quickling in edit-comments.php. See #14637
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-18 22:26:22 +00:00
scribu
02668b6614
Temporary fix for #14637
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-18 16:58:55 +00:00
dd32
5cd73bf182
Uncheck rows on comments page when hiding rows so as to not affect it by Bulk edits. Fixes #12365
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 07:37:45 +00:00
azaozz
1d9c71611a
Fix Right Now comments counts when only one comment exists
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 01:53:25 +00:00
azaozz
dafb319ebe
Fix Right Now comments counts for trash, spam or undo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 00:49:33 +00:00
azaozz
f33e161d18
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: http://svn.automattic.com/wordpress/trunk@12291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-29 10:29:12 +00:00
azaozz
00a9b90dc9
Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-28 02:56:15 +00:00
azaozz
fe29434e05
Undo for setting a comment as spam, props caesarsgrunt, fixes #11260 , see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-27 10:34:09 +00:00
azaozz
fc341ce3ab
Stop the fade-out of the Undo notices on Edit Comments screen, props caesarsgrunt, fixes #11259 , see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 04:37:39 +00:00
azaozz
dc7d0f1dff
Always show "Configure" links on dashboard widgets in IE6, fix "Right Now" comments counts, fixes #11129
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-13 05:39:17 +00:00
azaozz
0893cbd9a2
Fix Undo row timeout on Edit Comments screen, props caesarsgrunt, see #4529
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-07 00:50:28 +00:00