From 168ee1345c1754a68afa0976516741d26fb2dd6d Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 21 Dec 2012 12:24:52 -0500 Subject: [PATCH] Enforce 10000 char limit on message box Add maxlength attribute to the textarea which displays a tool tip (in Chrome) for the user, telling them they are over the limit, so that the error is caught before the send_message step (which is too late for Create and Send). Fixes trac ticket #166. (imported from commit 36b211a17f42dc8345e2235b4b4ca74c8f4e86c4) --- templates/zephyr/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/zephyr/home.html b/templates/zephyr/home.html index bdbeb6ac6b..56ab2ea887 100644 --- a/templates/zephyr/home.html +++ b/templates/zephyr/home.html @@ -116,7 +116,7 @@
+ value="" placeholder="Compose your message here..." tabindex="140" maxlength="10000">
Formatting help (Send with Tab, then Enter)