Skip to content

Commit

Permalink
fixing play button behavior (MID-7481)
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Jan 14, 2022
1 parent b5e2553 commit 8e74e85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,10 @@ protected List<ObjectDelta<? extends ObjectType>> getAdditionalModifyDeltas(Oper


public void reset() {
// prismObjectModel.reset();
prismObjectModel.detach();
objectWrapperModel.reset();
// detailsPageConfigurationModel.reset();
// summaryModel.reset();
detailsPageConfigurationModel.reset();
summaryModel.detach();
}

protected ModelServiceLocator getModelServiceLocator() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ private void initLayout() {

@Override
protected void onPostProcessTarget(AjaxRequestTarget target) {
refreshEnabled = null;
refresh(target);
}

Expand Down Expand Up @@ -473,7 +472,6 @@ public void onClick(AjaxRequestTarget target) {
repeatingView.add(resumePauseRefreshing);
}

//TODO abstract
protected boolean isRefreshEnabled() {
if (refreshEnabled == null) {
return WebComponentUtil.isRunningTask(getObjectType());
Expand Down

0 comments on commit 8e74e85

Please sign in to comment.