From f1cf81772b54efdc371a80daf0ea6d19e183527e Mon Sep 17 00:00:00 2001 From: Gonzalo Rodriguez Date: Sat, 20 Aug 2011 15:51:39 -0300 Subject: [PATCH] Closes #1386. On conversations, disable Reply button once pressed --- app/views/conversations/_show.haml | 2 +- config/locales/diaspora/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/conversations/_show.haml b/app/views/conversations/_show.haml index 43623aae6..29e37e36a 100644 --- a/app/views/conversations/_show.haml +++ b/app/views/conversations/_show.haml @@ -29,4 +29,4 @@ = form_for [conversation, Message.new] do |message| = message.text_area :text, :rows => 5, :tabindex => 1 .right - = message.submit t('.reply').capitalize, :class => 'button creation', :tabindex => 2 + = message.submit t('.reply').capitalize, :disable_with => t('.replying'), :class => 'button creation', :tabindex => 2 diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 700fb2585..9b3397fab 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -233,6 +233,7 @@ en: inbox: "Inbox" show: reply: "reply" + replying: "Replying..." delete: "delete and block conversation" new: to: "to"