Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrothenbuecher committed Sep 26, 2018
1 parent 3996225 commit b7a60ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions assets/js/watchdog.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@ if (contents) {
if(proc.File.includes("wineks")){
var clientreg = /[\\|\/]((?!\\|\/).)*?[\\|\/]wineks\.exe/;
client = (clientreg.exec(proc.File)[0] + "").replace("wineks.exe", "").replace(/[\\|\/]/g, "");
}else if(proc.File.includes("abaserpgui")){
var clientreg = /[\\|\/]((?!\\|\/).)*?[\\|\/]abaserpgui\.exe/;
client = (clientreg.exec(proc.File)[0] + "").replace("abaserpgui.exe", "").replace(/[\\|\/]/g, "");
}else if(proc.File.includes("abasgui")){
var clientreg = /[\\|\/]((?!\\|\/).)*?[\\|\/]abasgui\.exe/;
client = (clientreg.exec(proc.File)[0] + "").replace("abasgui.exe", "").replace(/[\\|\/]/g, "");
}

var row = "<tr>";
Expand All @@ -273,7 +273,6 @@ if (contents) {

if (lastClosed != 10000000000000000 && !ignoreAll) {
$('#closed-label').text($.i18n("last_closed") + msToTime(lastClosed));

} else {
$('#closed-label').text("");
}
Expand All @@ -299,6 +298,7 @@ if (contents) {
}
// Fehler ausgeben
console.log("errorInterval:", errorInterval);

if (settings.error_time_min > 0 && idleTime > settings.error_time_min && lastClosed > settings.close_time_min) {
makeError();
} else {
Expand All @@ -320,7 +320,7 @@ if (contents) {
}
} else {
$('#activity-label').text("");
if(ignoreAll)
if(ignoreAll || errorInterval != -1)
disableDialog();

}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "abas-watchdog",
"productName": "abas-watchdog",
"version": "0.5.4",
"version": "0.5.5",
"description": "a License Watchdog for abas-ERP",
"homepage": "https://github.com/mrothenbuecher/abas-watchdog",
"main": "main.js",
Expand Down

0 comments on commit b7a60ae

Please sign in to comment.