new missions + try to debug failing mission handling
This commit is contained in:
57
dist/autoloaderV2.js
vendored
57
dist/autoloaderV2.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Wed Feb 13 2019 18:50:07 GMT+0100 (CET)*/
|
||||
/*Generated on:Fri Feb 15 2019 17:21:20 GMT+0100 (CET)*/
|
||||
/*
|
||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||
* ===============================================
|
||||
@@ -16125,8 +16125,51 @@
|
||||
"433": {
|
||||
"id": "433",
|
||||
"type": "433",
|
||||
"name": null,
|
||||
"share": false
|
||||
"name": "Gro\u00dffeuer in Bank",
|
||||
"share": false,
|
||||
"fire_department": {
|
||||
"num_LF": 10,
|
||||
"num_ELW_1": 3,
|
||||
"num_ELW_2": 1,
|
||||
"num_DLK": 3,
|
||||
"num_RW": 2,
|
||||
"num_FwK": 0,
|
||||
"num_GW_A": 0,
|
||||
"num_GW_G": 1,
|
||||
"num_GW_Oel": 0,
|
||||
"num_GW_Mess": 1,
|
||||
"num_SW": 0,
|
||||
"num_GW_Hoeh": 0,
|
||||
"num_Dekon_P": 0,
|
||||
"num_FLF": 0,
|
||||
"num_Rettungstreppe": 0,
|
||||
"num_GW_Werkfeuerwehr": 0,
|
||||
"num_ULF_mit_Loescharm": 0,
|
||||
"num_Turboloescher": 0
|
||||
},
|
||||
"police_department": {
|
||||
"num_FuStW": 5,
|
||||
"num_leBefKw": 0,
|
||||
"num_GruKw": 0,
|
||||
"num_FueKw": 0,
|
||||
"num_GefKw": 0,
|
||||
"num_WaWe": 0,
|
||||
"num_PHu": 0,
|
||||
"num_SEK_ZF": 0,
|
||||
"num_SEK_MTF": 0,
|
||||
"num_MEK_ZF": 0,
|
||||
"num_MEK_MTF": 0
|
||||
},
|
||||
"emergency_medical_service": {
|
||||
"use_KTW": false,
|
||||
"use_RTW": true,
|
||||
"use_NEF": true,
|
||||
"use_RTH": false,
|
||||
"use_LNA": true,
|
||||
"use_OrgL": true,
|
||||
"use_SEG_FULL": true,
|
||||
"use_SEG_ELW1_Only": false
|
||||
}
|
||||
},
|
||||
"434": {
|
||||
"id": "434",
|
||||
@@ -19442,16 +19485,20 @@
|
||||
}
|
||||
}
|
||||
|
||||
window.console.log("Clicked Vehicles: %s %s", window.name, String(self.MissionID), $('#vehicle_show_table_all input[type="checkbox"]:checked').length, $('#vehicle_show_table_all input[type="checkbox"]:checked'));
|
||||
let vhcalled = window.$('#vehicle_show_table_all input[type="checkbox"]:checked');
|
||||
window.console.log("Clicked Vehicles: %s %s", window.name, String(self.MissionID), vhcalled.length, vhcalled);
|
||||
// window.console.log("WILL KLICK SEND", self.MissionID, window.name)
|
||||
|
||||
self.UpdateMissionsToDone(self.MissionID).then(() => {
|
||||
tellParent(`console.log('ok:${window.name}:${self.MissionID}');`);
|
||||
if ($('#vehicle_show_table_all input[type="checkbox"]:checked').length == 0) {
|
||||
if (vhcalled.length == 0) {
|
||||
window.console.log('nocars selected...', vhcalled.length);
|
||||
if (window.name == 'adis-krankentransporte') {
|
||||
window.console.log('nocars selected... select KTW');
|
||||
$('#aao_2753841').click();
|
||||
window.$('#mission_alarm_btn').click();
|
||||
} else {
|
||||
window.console.log('nocars selected... start new run');
|
||||
tellParent(`console.log('nocars:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user