mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Moved styling
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39983 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8c8d1986e0
commit
6e43abc98f
@ -54,7 +54,7 @@ PageCommentInterface.prototype = {
|
||||
// Add it to the list with a 'loading' message
|
||||
$('PageComments').insertBefore(__newComment, pageComments[0]);
|
||||
__newComment.innerHTML = '<p><img src="cms/images/network-save.gif" /> Loading...</p>';
|
||||
__newComment.className ="even";
|
||||
|
||||
|
||||
// Submit the form via ajax
|
||||
Ajax.SubmitForm(form, "action_postcomment", {
|
||||
@ -70,7 +70,7 @@ PageCommentInterface.prototype = {
|
||||
}
|
||||
|
||||
if(response.responseText != "spamprotectionfalied"){
|
||||
|
||||
__newComment.className ="even";
|
||||
// Load the response into the new <li>
|
||||
__newComment.innerHTML = response.responseText;
|
||||
Behaviour.apply(__newComment);
|
||||
|
Loading…
Reference in New Issue
Block a user