afüp
This commit is contained in:
11
dist/autoloader.js
vendored
11
dist/autoloader.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Sat Nov 24 2018 16:33:55 GMT+0100 (CET)*/
|
||||
/*Generated on:Sat Nov 24 2018 16:36:18 GMT+0100 (CET)*/
|
||||
var AutomaticDispose_Branch = "master";
|
||||
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
||||
var da_lss_adis_time = new Date().getTime();
|
||||
@@ -6455,10 +6455,11 @@ ADisDB.on("ready", () => {
|
||||
var VehicleStatus = $(this).find(".building_list_fms").text();
|
||||
var VehicleType = Number(parseInt($(this).find("a").attr("vehicle_type_id")));
|
||||
var VehicleID = $(this).attr("vehicle_id");
|
||||
var _meap = $('#radio_messages_important > li.radio_message_vehicle_' + VehicleID + ' > a:contains("Zum Einsatz")').attr('href');
|
||||
var MissionID = _meap.substr(_meap.lastIndexOf("/") + 1);
|
||||
if (MissionID && VehicleStatus == "5" && [32, 52].indexOf(VehicleType) !== -1) {
|
||||
ADis_AddPoliceSprechwunschToQueue(MissionID);
|
||||
if (VehicleStatus == "5" && [32, 52].indexOf(VehicleType) !== -1) {
|
||||
var _meap = $('#radio_messages_important > li.radio_message_vehicle_' + VehicleID + ' a:contains("Zum Einsatz")').attr('href');
|
||||
var MissionID = _meap[0].substr(_meap[0].lastIndexOf("/") + 1);
|
||||
console.log(_meap, MissionID);
|
||||
//ADis_AddPoliceSprechwunschToQueue(MissionID);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
2
dist/standalone.js
vendored
2
dist/standalone.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Sat Nov 24 2018 16:33:55 GMT+0100 (CET)*/
|
||||
/*Generated on:Sat Nov 24 2018 16:36:18 GMT+0100 (CET)*/
|
||||
function includesString(string1, string2) {
|
||||
return string1.toLowerCase().includes(string2.toLowerCase());
|
||||
}
|
||||
|
||||
@@ -39,10 +39,11 @@ function ADis_CollectPoliceSprechwuensche() {
|
||||
var VehicleStatus = $(this).find(".building_list_fms").text();
|
||||
var VehicleType = Number(parseInt($(this).find("a").attr("vehicle_type_id")));
|
||||
var VehicleID = $(this).attr("vehicle_id");
|
||||
var _meap = $('#radio_messages_important > li.radio_message_vehicle_' + VehicleID + ' > a:contains("Zum Einsatz")').attr('href');
|
||||
var MissionID = _meap.substr(_meap.lastIndexOf("/") + 1);
|
||||
if (MissionID && VehicleStatus == "5" && [32, 52].indexOf(VehicleType) !== -1) {
|
||||
ADis_AddPoliceSprechwunschToQueue(MissionID);
|
||||
if (VehicleStatus == "5" && [32, 52].indexOf(VehicleType) !== -1) {
|
||||
var _meap = $('#radio_messages_important > li.radio_message_vehicle_' + VehicleID + ' a:contains("Zum Einsatz")').attr('href');
|
||||
var MissionID = _meap[0].substr(_meap[0].lastIndexOf("/") + 1);
|
||||
console.log(_meap, MissionID);
|
||||
//ADis_AddPoliceSprechwunschToQueue(MissionID);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user