Start: Removed remaining unauthorized internet access at startup
This commit is contained in:
@@ -56,8 +56,12 @@ function checkVersion(data) {
|
||||
}
|
||||
|
||||
function load() {
|
||||
// load latest news
|
||||
ddiv = document.getElementById("news");
|
||||
if (allowDownloads == 0) {
|
||||
ddiv.innerHTML = '<a href="EnableDownload.py" onClick="enableDownloads()">text70</a> text71';
|
||||
return;
|
||||
}
|
||||
// load latest news
|
||||
ddiv.innerHTML = "Connecting...";
|
||||
var tobj=new JSONscriptRequest('https://api.github.com/repos/FreeCAD/FreeCAD/commits?callback=showTweets');
|
||||
tobj.buildScriptTag(); // Build the script tag
|
||||
|
||||
Reference in New Issue
Block a user