I would like to change the default comment tab from 'Respond to customer' to 'Internal comment' in some transition screens.
Is this possible to configure via Behaviours?
I am not very experienced with scripting and I thought something like this might work:
if (getAction() == "21" ) {
switchTab(1)
}
I know the action ID for the transitions I want the switch to happen is 21 and 31.
What I wanted to to is: if the transition is 21, then set focus on tab(1) (which is internal comment).
Hi Mischa,
You can use Javascript/Jquery to do this. Go to your field configuration section and edit "Comment" field. In the description part just add the following code:
<script type="text/javascript">
$('a:contains("Internal comment")').click();
</script>
This will click Internal Comment tab so which becomes default comment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.