<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
img {
max-width: 100%;
height: auto;
}
p.details {
font-style:italic;
color:#777
}
.footer p {
font-size:small;
color:#777
}
pre.commit-message {
white-space: pre-wrap;
}
.file-stats a {
text-decoration: none;
}
.file-stats .new-file {
color: #090;
}
.file-stats .deleted-file {
color: #B00;
}
</style>
<body>
<div class='content'>
<h3>Laurence Sebastian Bowes pushed to branch master at <a href="https://projects.sucs.org/sucssite/sucs-site">sucssite / sucs-site</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://projects.sucs.org/sucssite/sucs-site/commit/ad9d9fb64447a4ad9ed1138927ecd066f6e24e09">ad9d9fb6</a></strong>
<div>
<span>by root</span>
<i>at 2015-11-09T15:12:35Z</i>
</div>
<pre class='commit-message'>Remove some errors</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
htdocs/js/signup.js
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/sucssite/sucs-site/commit/ad9d9fb64447a4ad9ed1138927ecd066f6e24e09#diff-0'>
<strong>
htdocs/js/signup.js
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/htdocs/js/signup.js
</span><span style="color: #000000;background-color: #ddffdd">+++ b/htdocs/js/signup.js
</span><span style="color: #aaaaaa">@@ -10,6 +10,7 @@ var validation = {
</span> var submitted = false;
function validate() {
var valid = true;
<span style="color: #000000;background-color: #ddffdd">+ var field;
</span> for (field in req) {
if (!validation[req[field]]) {
valid = false;
<span style="color: #aaaaaa">@@ -37,16 +38,16 @@ function processPostcode() {
</span> $('div#addseldiv').removeAttr("style");
for (var i = 0; i < (j.addresses.length); i++) {
options += '<option>';
<span style="color: #000000;background-color: #ffdddd">- if (j.addresses[i].flat != null) {
</span><span style="color: #000000;background-color: #ddffdd">+ if (j.addresses[i].flat !== null) {
</span> options += j.addresses[i].flat + "\n";
}
<span style="color: #000000;background-color: #ffdddd">- if (j.addresses[i].house != null) {
</span><span style="color: #000000;background-color: #ddffdd">+ if (j.addresses[i].house !== null) {
</span> options += j.addresses[i].house + "\n";
}
<span style="color: #000000;background-color: #ffdddd">- if (j.addresses[i].road != null) {
</span><span style="color: #000000;background-color: #ddffdd">+ if (j.addresses[i].road !== null) {
</span> options += j.addresses[i].road + "\n";
}
<span style="color: #000000;background-color: #ffdddd">- if (j.addresses[i].city != null) {
</span><span style="color: #000000;background-color: #ddffdd">+ if (j.addresses[i].city !== null) {
</span> options += j.addresses[i].city + "\n";
}
options += '</option>';
<span style="color: #aaaaaa">@@ -56,13 +57,13 @@ function processPostcode() {
</span> }
if (j.addresses.length == 1) {
$('div#addseldiv').attr("style", "display:none");
<span style="color: #000000;background-color: #ffdddd">- $("textarea#address")
</span><span style="color: #000000;background-color: #ddffdd">+ $("textarea#address");
</span> $('div#addressmessage').attr("style", "color:green; float:right; clear:right;");
$('div#addressmessage').html("OK");
<span style="color: #000000;background-color: #ffdddd">- validation["address"] = true;
</span><span style="color: #000000;background-color: #ddffdd">+ validation.address = true;
</span> validate();
}
<span style="color: #000000;background-color: #ffdddd">- })
</span><span style="color: #000000;background-color: #ddffdd">+ });
</span> }
function lookupSID(setname) {
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://projects.sucs.org/sucssite/sucs-site/commit/ad9d9fb64447a4ad9ed1138927ecd066f6e24e09">View it on GitLab</a>
<br>
You're receiving this email because of your account on <a href="https://projects.sucs.org/">projects.sucs.org</a>.
If you'd like to receive fewer emails, you can adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://projects.sucs.org/sucssite/sucs-site/commit/ad9d9fb64447a4ad9ed1138927ecd066f6e24e09"}}</script>
</p>
</div>
</body>
</html>