moved action related code to new ActionList class
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user