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