Skip to content

Commit

Permalink
feat(ZMS-3499) Tabelle für die Warteschlange wird aktualisiert auch b…
Browse files Browse the repository at this point in the history
…ei Mouse-Hovering
  • Loading branch information
MoDaae committed Feb 4, 2025
1 parent b6df7d6 commit 2e48f50
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions zmsadmin/js/page/counter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,6 @@ class View extends Workstation {
}
this.setReloadTimer();
}
window.onblur = () => {
//console.log("lost Focus");
// clearTimeout(this.reloadTimer);
}
this.$main.find('[data-queue-table], [data-queue-info]').on("mouseenter", () => {
//console.log("stop Reload on mouse enter");
clearTimeout(this.reloadTimer);
});
this.$main.find('[data-queue-table], [data-queue-info]').on("mouseleave", () => {
//console.log("start reload on mouse leave");
this.setReloadTimer();
});
}

loadAllPartials() {
Expand Down
12 changes: 0 additions & 12 deletions zmsadmin/js/page/workstation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,6 @@ class View extends BaseView {
}
this.setReloadTimer();
}
window.onblur = () => {
//console.log("lost Focus");
// clearTimeout(this.reloadTimer);
}
this.$main.find('[data-queue-table]').on("mouseenter", () => {
//console.log("stop Reload on mouse enter");
clearTimeout(this.reloadTimer);
});
this.$main.find('[data-queue-table]').on("mouseleave", () => {
//console.log("start reload on mouse leave");
this.setReloadTimer();
});
}

setReloadTimer() {
Expand Down

0 comments on commit 2e48f50

Please sign in to comment.