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:
Jeremy Shipman 2007-08-14 04:44:33 +00:00
parent 8c8d1986e0
commit 6e43abc98f

View File

@ -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);