[git] gnupg-doc - branch, preview, updated. 8134ebab0796dc63a86bf73364de3312517eb775
by Kai Michaelis
cvs at cvs.gnupg.org
Wed May 17 16:35:26 CEST 2017
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 "The GnuPG website and other docs".
The branch, preview has been updated
via 8134ebab0796dc63a86bf73364de3312517eb775 (commit)
from a86618cf10d3c3696b1cbe1a04c9ce1c31e44b1a (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 8134ebab0796dc63a86bf73364de3312517eb775
Author: Kai Michaelis <kai at gnupg.org>
Date: Wed May 17 16:37:04 2017 +0200
campaign: select monthly in js
diff --git a/web/donate/donate.org b/web/donate/donate.org
index 0970631..0190524 100644
--- a/web/donate/donate.org
+++ b/web/donate/donate.org
@@ -121,7 +121,7 @@
<div class="form-group">
<label for="recur" class="col-md-2 control-label">Recurring</label>
<div class="col-md-2">
- <select class="form-control" name="recur">
+ <select class="form-control" name="recur" id="recur">
<option value="0"
selected="selected"><!--RECUR_NONE-->Just once</option>
<option value="12" ><!--RECUR_MONTH-->Monthly</option>
diff --git a/web/share/campaign/campaign.js b/web/share/campaign/campaign.js
index e06d356..a2ccfcc 100644
--- a/web/share/campaign/campaign.js
+++ b/web/share/campaign/campaign.js
@@ -62,9 +62,13 @@ $(document).ready(function() {
let vals = ["500", "200", "100", "50", "20", "10", "5"];
for (let value of vals) {
- $(".amount-btn-" + value.toString()).attr("href","#");
- $(".amount-btn-" + value.toString()).one("click",function() {
- $("#amountother").attr("value",value.toString());
+ $(".amount-btn-" + value.toString()).attr("href", "#");
+ $(".amount-btn-" + value.toString()).one("click", function() {
+ $("#amountother").attr("value", value.toString());
+ $("#currency option").attr("selected", false);
+ $("#currency option[value='EUR']").attr("selected", true);
+ $("#recur option").attr("selected", false);
+ $("#recur option[value='12']").attr("selected", true);
});
}
});
-----------------------------------------------------------------------
Summary of changes:
web/donate/donate.org | 2 +-
web/share/campaign/campaign.js | 10 +++++++---
2 files changed, 8 insertions(+), 4 deletions(-)
hooks/post-receive
--
The GnuPG website and other docs
http://git.gnupg.org
More information about the Gnupg-commits
mailing list