[Gpg4win-commits] [git] Gpg4win - branch, website, updated. gpg4win-2.1.0-266-g0eda706

by Emanuel Schuetze cvs at cvs.gnupg.org
Wed Dec 21 16:45:01 CET 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG for Windows".

The branch, website has been updated
       via  0eda706c6b022f8202c8a9901c8602a2c43eca03 (commit)
      from  afeed01d7fd342219c7f406fcba1a18b81559295 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0eda706c6b022f8202c8a9901c8602a2c43eca03
Author: Emanuel Schuetze <emanuel at intevation.de>
Date:   Wed Dec 21 16:44:26 2016 +0100

    Fixed checked state in donation form DE.

diff --git a/web/donation-form-de.htm4 b/web/donation-form-de.htm4
index d9bb5f9..f51f071 100644
--- a/web/donation-form-de.htm4
+++ b/web/donation-form-de.htm4
@@ -20,7 +20,7 @@
 	      <label for="amount1"> $0 </label>
 	      <input type="radio" name="amount" value="10" id="amount2" onchange="checkAmount(value)">
 	      <label for="amount2"> $10 </label>
-	      <input type="radio" name="amount" value="15" id="amount3" onchange="checkAmount(value)" checked="checked">
+	      <input type="radio" name="amount" value="15" id="amount3" onchange="checkAmount(value)">
 	      <label for="amount3"> $15 </label>
 	      <input type="radio" name="amount" value="25" id="amount4" onchange="checkAmount(value)">
 	      <label for="amount4"> $25 </label>
@@ -158,7 +158,7 @@ class="donateButton" alt="download">Herunterladen</button></a>
 
 <script type="text/javascript">
   document.getElementById('download_div').style.display = "none";
-  document.getElementById('EUR').style.display = "none";
+  document.getElementById('USD').style.display = "none";
   amountGiven = 0;
 
   function checkAmount(amount) {
@@ -195,20 +195,20 @@ class="donateButton" alt="download">Herunterladen</button></a>
       document.getElementById('USD').style.display = "block";
       document.getElementById('EUR').style.display = "none";
       for (var i = 0; i < 5; i++) {
-	var v = document.getElementsByName('amount')[i];
-	if (v.value == amountGiven) {
-	  v.checked = "checked";
-	}
-     }
+	    var v = document.getElementsByName('amount')[i];
+	    if (v.value == amountGiven) {
+	      v.checked = "checked";
+	    }
+      }
     }
     if (txt == "EUR") {
      document.getElementById('USD').style.display = "none";
      document.getElementById('EUR').style.display = "block";
      for (var i = 5; i < 10; i++) {
-	var v = document.getElementsByName('amount')[i];
-	if (v.value == amountGiven) {
-	  v.checked = "checked";
-	}
+	   var v = document.getElementsByName('amount')[i];
+	     if (v.value == amountGiven) {
+	       v.checked = "checked";
+   	     }
       }
     }
   }
@@ -217,13 +217,13 @@ class="donateButton" alt="download">Herunterladen</button></a>
     if (txt == "onetime") {
       document.getElementById('onetime1').disabled= false;
       for (var i=1; i<6; i++) {
-	document.getElementById('recurrent'+i).disabled= true;
+	    document.getElementById('recurrent'+i).disabled= true;
       }
     }
     if (txt == "monthly") {
       document.getElementById('onetime1').disabled= true;
       for (var i=1; i<6; i++) {
-	document.getElementById('recurrent'+i).disabled= false;
+	    document.getElementById('recurrent'+i).disabled= false;
       }
     }
   }

-----------------------------------------------------------------------

Summary of changes:
 web/donation-form-de.htm4 | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
GnuPG for Windows
http://git.gnupg.org



More information about the Gpg4win-commits mailing list