<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/bd6650ab5b707105d82ea35d1b67afa12257def3">bd6650ab</a></strong>
<div>
<span>by Laurence Sebastian Bowes</span>
<i>at 2015-11-09T14:48:54Z</i>
</div>
<pre class='commit-message'>Remove old JS file</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
<span class='deleted-file'>
−
htdocs/js/xmlhttp.js
</span>
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/sucssite/sucs-site/commit/bd6650ab5b707105d82ea35d1b67afa12257def3#diff-0'>
<strong>
htdocs/js/xmlhttp.js
</strong>
deleted
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/htdocs/js/xmlhttp.js
</span><span style="color: #000000;background-color: #ddffdd">+++ /dev/null
</span><span style="color: #aaaaaa">@@ -1,47 +0,0 @@
</span><span style="color: #000000;background-color: #ffdddd">-function postcomment(strBaseUrl, strBlog, strPost) {
- var xmlhttp = false;
-
- if (window.XMLHttpRequest) {
- xmlhttp = new XMLHttpRequest();
- xmlhttp.overrideMimeType('text/xml');
- } else if (window.ActiveXObject) {
- xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
- } else {
- return true;
- }
-
- document.getElementById("spinner").style.visibility = "visible";
- document.getElementById("errors").innerHTML = "";
- frm = document.forms['commentform'];
- url = "blog=" + strBlog + "&post=" + strPost + "&author=" + escape(frm.elements['author'].value) + "&email=" + escape(frm.elements['email'].value) + "&comment=" + escape(frm.elements['comment'].value);
-
- xmlhttp.open("POST", strBaseUrl+"comment", true);
- xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
- xmlhttp.onreadystatechange = function() {
- if (xmlhttp.readyState == 4) {
- //alert(xmlhttp.responseText);
- //alert(xmlhttp.getAllResponseHeaders());
- document.getElementById("spinner").style.visibility = "hidden";
- frm.elements['author'].style.backgroundColor = "#FFF";
- frm.elements['email'].style.backgroundColor = "#FFF";
- frm.elements['comment'].style.backgroundColor = "#FFF";
- responseArray = xmlhttp.responseText.split("<split>");
- if(responseArray[1] == "OK"){
- document.getElementById("comments").innerHTML += responseArray[0];
- document.getElementById("errors").innerHTML = "";
- //frm.elements['author'].value = ""
- //frm.elements['email'].value = "";
- frm.elements['comment'].value = "";
- } else {
- if(responseArray[2]!="") {
- frm.elements[responseArray[2]].style.backgroundColor = "#FFD1CD";
- document.getElementById("errors").innerHTML = responseArray[0];
- } else {
- document.getElementById("comments").innerHTML += responseArray[0];
- }
- }
- }
- }
- xmlhttp.send(url)
- return false;
-}
</span></code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://projects.sucs.org/sucssite/sucs-site/commit/bd6650ab5b707105d82ea35d1b67afa12257def3">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/bd6650ab5b707105d82ea35d1b67afa12257def3"}}</script>
</p>
</div>
</body>
</html>