Skip to content

Commit

Permalink
Fix WebIf: Removed duplicate variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Barracuda09 committed Jul 17, 2020
1 parent d678100 commit d8a61e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions web/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/addtableentry.js"></script>
<script>
var filename;
var autoload = 1;
var content;
var once = 0;
Expand Down Expand Up @@ -47,7 +46,7 @@
return page;
}
function updatePage() {
loadXMLDoc(filename);
loadXMLDoc("SatPI.xml");
}
// function called when xml is loaded
function xmlloaded(xml) {
Expand Down Expand Up @@ -98,7 +97,6 @@
document.getElementById("footer").innerHTML = buildfooter();
setMenuItemActive("config");

filename = "SatPI.xml";
content = "general";
updatePage();

Expand Down
4 changes: 1 addition & 3 deletions web/frontendoverview.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/addtableentry.js"></script>
<script>
var filename;
var autoload = 1;
var xmlLoaded;

Expand Down Expand Up @@ -47,7 +46,7 @@
}

function updatePage() {
loadXMLDoc(filename);
loadXMLDoc("SatPI.xml");
}

// function called when xml is loaded
Expand Down Expand Up @@ -89,7 +88,6 @@
document.getElementById("footer").innerHTML = buildfooter();
setMenuItemActive("frontendoverview");

filename = "SatPI.xml";
updatePage();

// Call the ajax refresh each refresh_time seconds
Expand Down

0 comments on commit d8a61e2

Please sign in to comment.