Info | ||
---|---|---|
| ||
This routine is available since JJUPINstarting with
|
Syntax
lfHideTab(field)
Description
Excerpt |
---|
Hides the given specified tab. |
Note |
This routine only handles the field tab and tabs defined by the user. If you want to hide the tabs from the Activity panel, see lfHide routine.
Warning | ||
---|---|---|
| ||
Hiding fields is not a security solution, the field is present in HTML and can still be inspected via a Show page source option. We recommend that you use this routine only for the cases when you want to add certain logic on the screen only. |
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
field | String | Yes | Specifies the tab to hide. |
Example
If the assignee is not admin, hide the Field Tab from the issue.
...
Now that the field is hidden, you can use lfShowTab to display it on the issue screen.
Warning | ||
---|---|---|
| ||
Hiding fields on the screen is not secure ! This is not a security solution, the field is present in HTML and can still be inspected via a simple "Show page source". This feature is only used to put some logic in the screen ! |
...
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|