Skip to content

Commit e15b3c6

Browse files
authored
stop propagation on event click from Jeedom dashboard
1 parent b01d431 commit e15b3c6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

core/template/dashboard/widgetCamera.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
function gotoCameraEvents#id#() {
104104
const camera = '#cameraName#';
105105
jeedomUtils.loadPage("index.php?v=d&m=frigate&p=events&cameras=" + camera);
106+
event.stopPropagation();
106107
}
107108
function execAction(cmdid) {
108109
jeedom.cmd.execute({

core/template/mobile/widgetCamera.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
function gotoCameraEvents#id#() {
8484
const camera = '#cameraName#';
8585
jeedomUtils.loadPage("index.php?v=d&m=frigate&p=events&cameras=" + camera);
86+
event.stopPropagation();
8687
}
8788
function execAction(cmdid) {
8889
jeedom.cmd.execute({

0 commit comments

Comments
 (0)