gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-donations] branch master updated: Fix prefilled fiel


From: gnunet
Subject: [GNUnet-SVN] [taler-donations] branch master updated: Fix prefilled field autofocus.
Date: Sat, 28 Jul 2018 12:49:57 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository donations.

The following commit(s) were added to refs/heads/master by this push:
     new 874fad1  Fix prefilled field autofocus.
874fad1 is described below

commit 874fad1451622ec55524ab2d1bae5396a1f47a81
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Jul 28 12:49:31 2018 +0200

    Fix prefilled field autofocus.
    
    Place the cursor at the _end_ of text.
---
 talerdonations/donations/templates/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/talerdonations/donations/templates/index.html 
b/talerdonations/donations/templates/index.html
index b384362..fc956e5 100644
--- a/talerdonations/donations/templates/index.html
+++ b/talerdonations/donations/templates/index.html
@@ -39,7 +39,7 @@ You are paying with an imaginary currency ({{ 
merchant_currency }}).
         <option value="{{ merchant_currency }}:6">5 {{ merchant_currency 
}}</option>
         <option value="{{ merchant_currency }}:10">10 {{ merchant_currency 
}}</option>
       </select>
-      <input type="text" name="donation_donor" value="Anonymous Donor" />
+      <input type="text" name="donation_donor" autofocus onfocus="this.value = 
'Anonymous Donor'" />
       <input type="submit" class="pure-button pure-button-primary" 
value="Donate!" />
     </div>
   </form>

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]