moved action related code to new ActionList class

This commit is contained in:
Stephan Richter
2020-10-29 19:04:48 +01:00
parent 6cb318a37d
commit cbda104d89
14 changed files with 205 additions and 213 deletions

View File

@@ -30,7 +30,7 @@ public class TrainSelect extends Condition {
new Input(ACTION,ACTION_UPDATE).hideIn(form);
new Input(ID,id).hideIn(form);
Train.selector(train, null).addTo(new Label(t("Select train:")+NBSP)).addTo(form);
new Button(t("Save")).addTo(form).addTo(win);
new Button(t("Save"),"return submitForm('"+formId+"');").addTo(form).addTo(win);
return win;
}