mirror of
https://github.com/ansible/awx.git
synced 2026-01-23 23:41:23 -03:30
Merge pull request #4658 from chrismeyersfsu/fix-4387
do not display tab tooltip in edit mode by default
This commit is contained in:
commit
86582c89a8
@ -425,6 +425,7 @@ export default
|
||||
ngClick: `(organization === undefined ? true : false)||$state.go('credentials.edit.permissions')`,
|
||||
awToolTip: '{{permissionsTooltip}}',
|
||||
dataTipWatch: 'permissionsTooltip',
|
||||
awToolTipTabEnabledInEditMode: true,
|
||||
dataPlacement: 'top',
|
||||
basePath: 'api/v1/credentials/{{$stateParams.credential_id}}/access_list/',
|
||||
search: {
|
||||
|
||||
@ -1479,7 +1479,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
||||
html += `<div id="${itm}_tab" `+
|
||||
`class="Form-tab" `;
|
||||
html += (this.form.related[itm].ngClick) ? `ng-click="` + this.form.related[itm].ngClick + `" ` : `ng-click="$state.go('${this.form.stateTree}.edit.${itm}')" `;
|
||||
if (collection.awToolTip){
|
||||
if (collection.awToolTip && collection.awToolTipTabEnabledInEditMode === true) {
|
||||
html += `aw-tool-tip="${collection.awToolTip}" ` +
|
||||
`aw-tip-placement="${collection.dataPlacement}" ` +
|
||||
`data-tip-watch="${collection.dataTipWatch}" `;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user