diff --git a/perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/widgets/PerunFormItemsGeneratorImpl.java b/perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/widgets/PerunFormItemsGeneratorImpl.java index e29cd4da..e609ab50 100644 --- a/perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/widgets/PerunFormItemsGeneratorImpl.java +++ b/perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/widgets/PerunFormItemsGeneratorImpl.java @@ -205,7 +205,7 @@ private PerunFormItem generatePerunFormItem(ApplicationFormItemData data) { // FIXME - hack for BBMRI collections to pre-fill value from URL if ((data.getValue() == null || data.getValue().isEmpty() || data.getValue().equals("null")) && (data.getPrefilledValue() == null || data.getPrefilledValue().isEmpty() || data.getPrefilledValue().equals("null")) && - data.getFormItem().getShortname().equals("Comma or new-line separated list of IDs of collections you are representing:")) { + data.getFormItem().getShortname().equals("collectionIds")) { final String bbmriCollections = Window.Location.getParameter("col"); data.setPrefilledValue((bbmriCollections != null) ? JsUtils.unzipString(JsUtils.decodeBase64UrlSafe(bbmriCollections)) : null); }