Update yy
This commit is contained in:
51
dist/autoloader.js
vendored
51
dist/autoloader.js
vendored
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Sat Nov 24 2018 21:42:55 GMT+0100 (CET)*/
|
/*Generated on:Mon Nov 26 2018 07:50:44 GMT+0100 (CET)*/
|
||||||
var AutomaticDispose_Branch = "master";
|
var AutomaticDispose_Branch = "master";
|
||||||
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
||||||
var da_lss_adis_time = new Date().getTime();
|
var da_lss_adis_time = new Date().getTime();
|
||||||
@@ -17827,29 +17827,34 @@ ADisDB.on("ready", () => {
|
|||||||
return await ADis_CollectPatients();
|
return await ADis_CollectPatients();
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
return await Promise.all([
|
return await ADis_ProcessEmergencyMedicalService()
|
||||||
ADis_ProcessEmergencyMedicalService(),
|
})
|
||||||
ADis_ProcessFireDepartment(),
|
.then(async () => {
|
||||||
ADis_ProcessPoliceDepartment(),
|
return await ADis_ProcessFireDepartment()
|
||||||
ADis_ProcessTechnicalEmergencyService(),
|
})
|
||||||
ADis_ProcessWaterRescue(),
|
.then(async () => {
|
||||||
]).then((result) => {
|
return await ADis_ProcessPoliceDepartment()
|
||||||
var updateData = {
|
})
|
||||||
last_check: CurrentTime,
|
.then(async () => {
|
||||||
next_check: CurrentTime + 60
|
return await ADis_ProcessTechnicalEmergencyService()
|
||||||
};
|
})
|
||||||
|
.then(async () => {
|
||||||
console.log("Clicked Vehicles: ", $('#vehicle_show_table_all input[type="checkbox"]:checked').size(), $('#vehicle_show_table_all input[type="checkbox"]:checked'));
|
return await ADis_ProcessWaterRescue()
|
||||||
if (['adis-ownmissions', 'adis-krankentransporte', 'adis-verbandmission'].indexOf(window.name) !== -1) {
|
}).then(() => {
|
||||||
console.log("WILL KLICK SEND")
|
var updateData = {
|
||||||
setTimeout(() => {
|
last_check: CurrentTime,
|
||||||
$('#mission_alarm_btn').click();
|
next_check: CurrentTime + 60
|
||||||
tellParent(`setTimeout(function(){console.log('ok:${window.name}:${MissionID}');ADis_MissionUpdateDone('${window.name}', '${MissionID}');},1000);`);
|
};
|
||||||
}, 250);
|
|
||||||
}
|
|
||||||
})
|
|
||||||
});
|
|
||||||
|
|
||||||
|
console.log("Clicked Vehicles: ", $('#vehicle_show_table_all input[type="checkbox"]:checked').size(), $('#vehicle_show_table_all input[type="checkbox"]:checked'));
|
||||||
|
if (['adis-ownmissions', 'adis-krankentransporte', 'adis-verbandmission'].indexOf(window.name) !== -1) {
|
||||||
|
console.log("WILL KLICK SEND")
|
||||||
|
setTimeout(() => {
|
||||||
|
$('#mission_alarm_btn').click();
|
||||||
|
tellParent(`setTimeout(function(){console.log('ok:${window.name}:${MissionID}');ADis_MissionUpdateDone('${window.name}', '${MissionID}');},1000);`);
|
||||||
|
}, 250);
|
||||||
|
}
|
||||||
|
})
|
||||||
}, 500);
|
}, 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
dist/standalone.js
vendored
2
dist/standalone.js
vendored
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Sat Nov 24 2018 21:42:55 GMT+0100 (CET)*/
|
/*Generated on:Mon Nov 26 2018 07:50:44 GMT+0100 (CET)*/
|
||||||
function includesString(string1, string2) {
|
function includesString(string1, string2) {
|
||||||
return string1.toLowerCase().includes(string2.toLowerCase());
|
return string1.toLowerCase().includes(string2.toLowerCase());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,4 +68,4 @@ gulp.task("minify2", ["scripts2"], function (cb) {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task("default", ["minify"]);
|
gulp.task("default", ["scripts"]);
|
||||||
@@ -158,29 +158,34 @@ function AD_StartAlarmProcess() {
|
|||||||
return await ADis_CollectPatients();
|
return await ADis_CollectPatients();
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
return await Promise.all([
|
return await ADis_ProcessEmergencyMedicalService()
|
||||||
ADis_ProcessEmergencyMedicalService(),
|
})
|
||||||
ADis_ProcessFireDepartment(),
|
.then(async () => {
|
||||||
ADis_ProcessPoliceDepartment(),
|
return await ADis_ProcessFireDepartment()
|
||||||
ADis_ProcessTechnicalEmergencyService(),
|
})
|
||||||
ADis_ProcessWaterRescue(),
|
.then(async () => {
|
||||||
]).then((result) => {
|
return await ADis_ProcessPoliceDepartment()
|
||||||
var updateData = {
|
})
|
||||||
last_check: CurrentTime,
|
.then(async () => {
|
||||||
next_check: CurrentTime + 60
|
return await ADis_ProcessTechnicalEmergencyService()
|
||||||
};
|
})
|
||||||
|
.then(async () => {
|
||||||
console.log("Clicked Vehicles: ", $('#vehicle_show_table_all input[type="checkbox"]:checked').size(), $('#vehicle_show_table_all input[type="checkbox"]:checked'));
|
return await ADis_ProcessWaterRescue()
|
||||||
if (['adis-ownmissions', 'adis-krankentransporte', 'adis-verbandmission'].indexOf(window.name) !== -1) {
|
}).then(() => {
|
||||||
console.log("WILL KLICK SEND")
|
var updateData = {
|
||||||
setTimeout(() => {
|
last_check: CurrentTime,
|
||||||
$('#mission_alarm_btn').click();
|
next_check: CurrentTime + 60
|
||||||
tellParent(`setTimeout(function(){console.log('ok:${window.name}:${MissionID}');ADis_MissionUpdateDone('${window.name}', '${MissionID}');},1000);`);
|
};
|
||||||
}, 250);
|
|
||||||
}
|
|
||||||
})
|
|
||||||
});
|
|
||||||
|
|
||||||
|
console.log("Clicked Vehicles: ", $('#vehicle_show_table_all input[type="checkbox"]:checked').size(), $('#vehicle_show_table_all input[type="checkbox"]:checked'));
|
||||||
|
if (['adis-ownmissions', 'adis-krankentransporte', 'adis-verbandmission'].indexOf(window.name) !== -1) {
|
||||||
|
console.log("WILL KLICK SEND")
|
||||||
|
setTimeout(() => {
|
||||||
|
$('#mission_alarm_btn').click();
|
||||||
|
tellParent(`setTimeout(function(){console.log('ok:${window.name}:${MissionID}');ADis_MissionUpdateDone('${window.name}', '${MissionID}');},1000);`);
|
||||||
|
}, 250);
|
||||||
|
}
|
||||||
|
})
|
||||||
}, 500);
|
}, 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user