bugfix
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>de.srsoftware</groupId>
|
||||
<artifactId>web4rail</artifactId>
|
||||
<version>1.3.5</version>
|
||||
<version>1.3.6</version>
|
||||
<name>Web4Rail</name>
|
||||
<packaging>jar</packaging>
|
||||
<description>Java Model Railway Control</description>
|
||||
|
||||
@@ -227,9 +227,9 @@ function runAction(ev){
|
||||
window.open("https://api.qrserver.com/v1/create-qr-code/?data="+window.location.href,'_blank');
|
||||
} else if (clicked.id == 'fullscreen'){
|
||||
toggleFullscreen();
|
||||
} else {
|
||||
return request({action:ev.target.id,realm:realm}); // TODO: ask for name
|
||||
}
|
||||
} else if (clicked.id == 'save'){
|
||||
alert('save');
|
||||
} else return request({action:ev.target.id,realm:realm}); // TODO: ask for name
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -499,6 +499,9 @@ public abstract class BaseClass implements Constants{
|
||||
protected void removeChild(BaseClass child) {}
|
||||
|
||||
protected static String t(String txt, Object...fills) {
|
||||
if (isSet(fills)) for (int i=0; i<fills.length; i++) {
|
||||
if ("\\".equals(fills[i])) fills[i]="\\\\";
|
||||
}
|
||||
return Translation.get(Application.class, txt, fills);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user