Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Apr 4, 2023
2 parents e6adc3d + 38d9426 commit 3b1f6a6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
import com.evolveum.midpoint.util.QNameUtil;
import com.evolveum.midpoint.util.exception.ConfigurationException;

import com.evolveum.midpoint.web.page.admin.configuration.component.EmptyOnBlurAjaxFormUpdatingBehaviour;

import org.apache.wicket.model.IModel;
import org.springframework.stereotype.Component;

Expand Down Expand Up @@ -70,6 +72,8 @@ public Collection<ItemName> loadChoices() {
}
};

autoCompleteTextPanel.getBaseFormComponent().add(new EmptyOnBlurAjaxFormUpdatingBehaviour());

return autoCompleteTextPanel;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,9 @@ protected void onSubmitPerformed(AjaxRequestTarget target) {
LOGGER.error("Couldn't apply delta from attribute value container.");
}
}

@Override
public String appendCssToWizard() {
return "mt-5 mx-auto col-11";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ protected void onExitPerformed(AjaxRequestTarget target) {

@Override
protected void onSubmitPerformed(AjaxRequestTarget target) {
super.onSubmitPerformed(target);
OperationResult result = ConstructionWizardPanel.this.onSavePerformed(target);
if (result != null && !result.isError()) {
onExitPerformed(target);
Expand Down

0 comments on commit 3b1f6a6

Please sign in to comment.