improvement: manually-defined actions are now preserverd when plan is analyzed for new routes

This commit is contained in:
Stephan Richter
2020-11-06 11:15:32 +01:00
parent ad8375e7f4
commit 5e088deda2
11 changed files with 78 additions and 25 deletions

View File

@@ -41,7 +41,7 @@ public class DelayedAction extends Action {
new Input(ACTION,ACTION_UPDATE).hideIn(form);
new Input(CONTEXT,params.get(CONTEXT)).hideIn(form);
new Input(DELAY,delay).numeric().addTo(new Label(t("Delay")+NBSP)).content(" ms").addTo(form);
new Input(DELAY,delay).numeric().addTo(new Label(t("Delay")+NBSP)).content(NBSP+"ms").addTo(form);
return new Button(t("Apply"),form).addTo(form).addTo(fieldset);
}
@@ -59,8 +59,6 @@ public class DelayedAction extends Action {
}.start();
return true;
}
@Override
public JSONObject json() {
@@ -87,7 +85,7 @@ public class DelayedAction extends Action {
@Override
public String toString() {
return t("Wait {} ms, then:",delay);
return t("Wait {} ms, then: {}",delay,actions);
}
@Override