mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 09:05:49 +00:00
FIX: Ensure that comments edited using AJAX are themselves editable using AJAX
This commit is contained in:
parent
cf33eb79a4
commit
827ae69d2f
@ -111,7 +111,7 @@
|
|||||||
* Clicking one of the metalinks performs the operation via ajax
|
* Clicking one of the metalinks performs the operation via ajax
|
||||||
* this inclues the spam and approve links
|
* this inclues the spam and approve links
|
||||||
*/
|
*/
|
||||||
$(".action-links a", commentsList).on('click', function(e) {
|
commentsList.on('click', '.action-links a', function(e) {
|
||||||
var link = $(this);
|
var link = $(this);
|
||||||
var comment = link.parents('.comment:first');
|
var comment = link.parents('.comment:first');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user