From 95c1edbab8dc6e8641f9e42aa70fb44a767a2aa2 Mon Sep 17 00:00:00 2001 From: maxwell Date: Mon, 4 Apr 2011 10:09:53 -0700 Subject: [PATCH] disable duplicate sending of a private message --- app/views/conversations/new.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/conversations/new.haml b/app/views/conversations/new.haml index 0ee5d85a0..40301b10e 100644 --- a/app/views/conversations/new.haml +++ b/app/views/conversations/new.haml @@ -50,5 +50,5 @@ = text_area_tag "conversation[text]", '', :rows => 5 .text-right - = conversation.submit t('.send'), :class => 'button' + = conversation.submit t('.send'), :disable_with => t('shared.publisher.posting'), :class => 'button' = link_to t('cancel'), conversations_path