Skip to content
Snippets Groups Projects
Commit 041ea01a authored by buczekp's avatar buczekp
Browse files

[LMS-1630] use ActionContext to fill experiment type and project in experiment...

[LMS-1630] use ActionContext to fill experiment type and project in experiment registration issued from experiment browser

SVN: 17248
parent e5fb1183
No related branches found
No related tags found
No related merge requests found
...@@ -139,7 +139,8 @@ public class ClientPluginFactory extends AbstractClientPluginFactory<ViewContext ...@@ -139,7 +139,8 @@ public class ClientPluginFactory extends AbstractClientPluginFactory<ViewContext
ExperimentType entityType, ActionContext context) ExperimentType entityType, ActionContext context)
{ {
GenericExperimentRegistrationForm form = GenericExperimentRegistrationForm form =
new GenericExperimentRegistrationForm(getGenericViewContext(), entityType); new GenericExperimentRegistrationForm(getGenericViewContext(), context,
entityType);
return new DatabaseModificationAwareWidget(form, form); return new DatabaseModificationAwareWidget(form, form);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment