AC-502 Finally figured out how to fix the awToolTip directive so that it watches a variable for tool tip text changes and updates the tool tip text. Pass in the variable name using badgeTipWatch. Used on home/hosts page and inventory/N/hosts page when toggling the enabled flag.

This commit is contained in:
Chris Houseknecht
2013-11-11 22:24:15 +00:00
parent 353858cf28
commit 5a62ba3a32
8 changed files with 82 additions and 46 deletions

View File

@@ -40,6 +40,7 @@ angular.module('InventoryHostsFormDefinition', [])
badgePlacement: 'left',
badgeToolTip: "\{\{ host.enabledToolTip \}\}",
badgeTipPlacement: "top",
badgeTipWatch: "host.enabledToolTip",
ngClick: "toggle_host_enabled(\{\{ host.id \}\}, \{\{ host.has_inventory_sources \}\})",
searchable: false,
showValue: false