diff media/js/forums.js @ 126:b0d62247c3e4

Add some javascript to check for posting a blank comment. Change wording on forum error message for the same thing.
author Brian Neal <bgneal@gmail.com>
date Sat, 14 Nov 2009 20:30:31 +0000
parents 3ae999b0c53b
children 2d299909e074
line wrap: on
line diff
--- a/media/js/forums.js	Sat Nov 14 20:09:17 2009 +0000
+++ b/media/js/forums.js	Sat Nov 14 20:30:31 2009 +0000
@@ -4,7 +4,7 @@
    postButton.click(function () {
       var text = $.trim(postText.val());
       if (text.length == 0) {
-         alert('Please enter some reply text.');
+         alert('Please enter some text.');
          return false;
       }
       $(this).attr('disabled', 'disabled').val('Posting reply...');