From: Anne Limoges Date: Wed, 5 Mar 2014 13:28:01 +0000 (+0100) Subject: Grey submit button on send mail page after click. X-Git-Tag: xorg/1.1.12~18 X-Git-Url: http://git.polytechnique.org/?p=platal.git;a=commitdiff_plain;h=f42e15fcc22e9c4bd21e881b1124061dcae3494c Grey submit button on send mail page after click. --- 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}. - +