From f42e15fcc22e9c4bd21e881b1124061dcae3494c Mon Sep 17 00:00:00 2001 From: Anne Limoges Date: Wed, 5 Mar 2014 14:28:01 +0100 Subject: [PATCH] Grey submit button on send mail page after click. --- templates/xnetgrp/mail.tpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/xnetgrp/mail.tpl b/templates/xnetgrp/mail.tpl index b341785..136aa91 100644 --- a/templates/xnetgrp/mail.tpl +++ b/templates/xnetgrp/mail.tpl @@ -37,6 +37,9 @@ masculin ou féminin, par son prénom, ou son nom. form.sujet.focus(); return false; } + var bouton = document.getElementById('submit_bt'); + bouton.disabled = "disabled"; + bouton.value="Envoi..."; } function updateWikiView(box) { @@ -150,7 +153,7 @@ Le bureau du groupe {$asso->nom}. - + -- 2.1.4