You are viewing limited content. For full access, please sign in.

Question

Question

Action History Fully Expanded by Default

asked on January 20, 2021

Hi,

Is there a way to have the Action History for a form to be fully expanded as the default mode of operation?  We have some tasks/processes that bounce around a bit and the commentary is important, and our users have asked for the list to be expanded by default so they don't need to click the expand arrow button a number of times if they're reviewing the history.

We're on the latest version of everything.

Thanks!

0 0

Answer

SELECTED ANSWER
replied on January 21, 2021

I use this to default the tray open and expand any items with comments:

	if (parseInt($('input[name="stepid"]').val()) > 1){
		if (!$('#InboxDetailsDrawer', window.parent.document).hasClass('expanded')) {
			$('div.right-drawer-toggle', window.parent.document).click();
		}
		setTimeout(function() {
			$('.history-toggle-btn span[title="Expand"]', window.parent.document).click();
			$('.timeline-sequence', window.parent.document).not(':has(.history-substep-list .history-comment)').find('.history-toggle-btn span[title="Collapse"]').click();
		},1000);
	}

 

0 0
replied on January 21, 2021

That worked perfectly!  Thanks very much for the assist on this one.  Cheers!

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.