diff options
-rw-r--r-- | site.lisp | 2 | ||||
-rw-r--r-- | static-files/js/comment-submission.js | 2 | ||||
-rw-r--r-- | templates/article.html | 7 |
3 files changed, 8 insertions, 3 deletions
@@ -28,6 +28,8 @@ ;; Otherwise, set it to NIL or comment the line out. (defparameter *wordpress-key* nil) +(defparameter *drop-unfiltered* nil) + (defparameter *default-characteristics-precedence-list* '((("language" . "en")) (("language" . "la")) diff --git a/static-files/js/comment-submission.js b/static-files/js/comment-submission.js index 23dae22..2704b0f 100644 --- a/static-files/js/comment-submission.js +++ b/static-files/js/comment-submission.js @@ -53,4 +53,6 @@ jQuery(function($) { } }); $('.spam-detection-info').html("This website uses a <a href=\"http://en.wikipedia.org/w/index.php?title=Hashcash&oldid=417692755\">Hashcash</a>-like proof-of-work system for spam detection."); + $('.comment-form').find('input, textarea').removeAttr('disabled'); //.prop('disabled', false); }); + diff --git a/templates/article.html b/templates/article.html index 2df9654..aed5406 100644 --- a/templates/article.html +++ b/templates/article.html @@ -67,7 +67,8 @@ </div> <div class="comment-form-input"> <input id="comment-form-input-{field-id|html-attr-value}" - name="{field-id|html-attr-value}" type="text" /> + name="{field-id|html-attr-value}" type="text" + {.section require-js}disabled="disabled"{.end} /> </div> </div> {.end} @@ -77,14 +78,14 @@ </div> <div class="comment-form-input"> <textarea id="comment-body" cols="60" rows="15" - name="body"></textarea> + name="body" {.section require-js}disabled="disabled"{.end}></textarea> </div> </div> </div> <div> <input type="submit" value="{submit-button-label|html-attr-value}" - class="comment-submit-button" /> + class="comment-submit-button" {.section require-js}disabled="disabled"{.end} /> </div> </form> {.end} |