From 3bdd155221cf3f60e9ac9dce47ab2aaede784425 Mon Sep 17 00:00:00 2001
From: Shea Dawson
Date: Tue, 19 Feb 2013 18:17:19 +1100
Subject: [PATCH] MINOR no comments message always comes from template, making
it easier to customise and translate
---
javascript/CommentsInterface.js | 5 -----
templates/CommentsInterface.ss | 5 +++--
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/javascript/CommentsInterface.js b/javascript/CommentsInterface.js
index 4716223..81d089c 100755
--- a/javascript/CommentsInterface.js
+++ b/javascript/CommentsInterface.js
@@ -10,11 +10,6 @@
form = $('#Form_CommentsForm'),
error = $('#Form_CommentsForm_error', form).hide()
- // create the not comments message if it doesn't exist yet, but hide it (incase we need it)
- if(!noCommentsYet.length){
- noCommentsYet = $('').appendTo(commentsHolder).hide();
- }
-
/**
* Validate
diff --git a/templates/CommentsInterface.ss b/templates/CommentsInterface.ss
index 83dc4bd..6ca2b33 100755
--- a/templates/CommentsInterface.ss
+++ b/templates/CommentsInterface.ss
@@ -52,9 +52,10 @@
<% end_if %>
- <% else %>
-
<% end_if %>
+
+
+
<% if DeleteAllLink %>