implemented locomotive functions

This commit is contained in:
Stephan Richter
2020-10-19 18:07:08 +02:00
parent dc4d4aebd4
commit 6acbb9769b
7 changed files with 78 additions and 14 deletions

View File

@@ -156,7 +156,7 @@ function request(data){
method : POST,
data : data,
success: function(resp){
if (data.realm != 'car') closeWindows();
if (data.realm != 'car' && data.realm != 'loco') closeWindows();
if (resp.startsWith('<svg')){
$(PLAN).append($(resp));
} else if (resp.startsWith('<')) {