Commit 79851505 by Bence Dányi

firewall_gui: provide tooltip help

parent 5662eacd
...@@ -293,6 +293,7 @@ function EntityController(url, init) { ...@@ -293,6 +293,7 @@ function EntityController(url, init) {
} }
$http.get(url + id + '/').success(function success(data) { $http.get(url + id + '/').success(function success(data) {
$scope.entity = data; $scope.entity = data;
$('input[type=text], input[type=number], select, textarea, .has-tooltip').tooltip({placement:'right'});
['vlan', 'vlangroup', 'host', 'hostgroup', 'firewall', 'owner', 'domain', 'record'].forEach(function(t) { ['vlan', 'vlangroup', 'host', 'hostgroup', 'firewall', 'owner', 'domain', 'record'].forEach(function(t) {
$('.' + t).typeahead({ $('.' + t).typeahead({
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment