- Отредактирована логика. Теперь скрипт срабатывает с паузой.

parent cb96d00c
...@@ -58,7 +58,7 @@ class CheckPresenceTime extends ConditionBase implements ConditionInterface { ...@@ -58,7 +58,7 @@ class CheckPresenceTime extends ConditionBase implements ConditionInterface {
var timer='.((int)$paramTime->value*1000).'; var timer='.((int)$paramTime->value*1000).';
setTimeout(function() { setTimeout(function() {
$.ajax({ $.ajax({
url: "/triggers/default/initTrigger", url: "/triggers/default/inittrigger",
method: "GET", method: "GET",
async: false, async: false,
data: { data: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment