Skip to content

Commit 3763233

Browse files
committed
Release 4.0.7709
1 parent c3b3588 commit 3763233

File tree

18 files changed

+102
-78
lines changed

18 files changed

+102
-78
lines changed

Protest/bin/protest/front/loader.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ let loader_styles = [
5757
"documentation.js",
5858
"debitnotes.js",
5959
"watchdog.js",
60-
"topology.js",
60+
//"topology.js",
6161
"ping.js",
6262
"dnslookup.js",
6363
"dhcpdiscover.js",
@@ -133,7 +133,7 @@ function LoadStyle(filename, callback) {
133133
csslink.href = filename;
134134
document.head.appendChild(csslink);
135135

136-
csslink.onload = ()=> callback("done", filename);
136+
csslink.onload = ()=> callback("ok", filename);
137137
csslink.onerror = ()=> callback("error", filename);
138138
}
139139

@@ -148,7 +148,7 @@ function LoadScript(filename, callback) {
148148
script.src = filename;
149149
document.body.appendChild(script);
150150

151-
script.onload = ()=> callback("done", filename);
151+
script.onload = ()=> callback("ok", filename);
152152
script.onerror = ()=> callback("error", filename);
153153
}
154154

@@ -170,7 +170,7 @@ function LoadEquip(callback) {
170170
i += 1 + len * 4;
171171
}
172172

173-
callback("done", "equipment");
173+
callback("ok", "equipment");
174174
};
175175

176176
xhr.onerror = ()=> callback("error", "equipment");
@@ -197,7 +197,7 @@ function LoadUsers(callback) {
197197
i += 1 + len * 4;
198198
}
199199

200-
callback("done", "users");
200+
callback("ok", "users");
201201
};
202202

203203
xhr.onerror = ()=> callback("error", "users");
@@ -255,7 +255,7 @@ function RestoreSession() {
255255
case "Documentation" : win = new Documentation(session[i].args); break;
256256
case "DebitNotes" : win = new DebitNotes(session[i].args); break;
257257
case "Watchdog" : win = new Watchdog(session[i].args); break;
258-
case "Topology" : win = new Topology(session[i].args); break;
258+
//case "Topology" : win = new Topology(session[i].args); break;
259259
case "Ping" : win = new Ping(session[i].args); break;
260260
case "DnsLookup" : win = new DnsLookup(session[i].args); break;
261261
case "DhcpDiscover" : win = new DhcpDiscover(); break;

Protest/bin/protest/front/locateip.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,10 @@ class LocateIp extends Console {
153153
divFlag.style.animation = "fade-in .2s";
154154
result.appendChild(divFlag);
155155

156-
result.innerHTML += split[1] + ", " + split[2] + ", " + split[3];
156+
if (split[1] === "Private address" || split[1] === "Local host")
157+
result.innerHTML += split[1];
158+
else
159+
result.innerHTML += split[1] + ", " + split[2] + ", " + split[3];
157160

158161
if (split[4].length > 0 && split[4] != "0,0") {
159162
const divLocation = document.createElement("div");

Protest/bin/protest/front/passwordgen.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,9 @@ class Passgen extends Window {
474474
if (etc.length == 0) etc = "less then a second";
475475

476476
if (eon > 999999999999999)
477-
this.lblTtc.innerHTML = "Infinity";
477+
this.lblTtc.innerHTML = "<u>TTC:</u>&nbsp;Infinity";
478478
else
479-
this.lblTtc.innerHTML = etc;
479+
this.lblTtc.innerHTML = `<u>TTC:</u>&nbsp;${etc}`;
480480
}
481481
}
482482

Lines changed: 1 addition & 1 deletion
Loading

Protest/bin/protest/front/res/configfile.svg

Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)