Skip to content

Commit

Permalink
fixing play button behavior (MID-7481)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8e74e85)
  • Loading branch information
katkav committed Jan 19, 2022
1 parent 1e0926f commit 63674bd
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 @@ -248,7 +248,6 @@ private void initLayout() {

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

Expand Down Expand Up @@ -472,7 +471,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 63674bd

Please sign in to comment.