diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-01-06 21:16:05 +0700 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-01-06 13:25:36 -0500 |
commit | 4ffd6de823bbd37ee5955911b7e3969c2474e496 (patch) | |
tree | 7f03f4e3b82b051a9747d505ae9839072884d321 /install/static/details.js | |
parent | 79c0b1e14b871d2136cca7c761a1864afb665c22 (diff) | |
download | freeipa.git-4ffd6de823bbd37ee5955911b7e3969c2474e496.tar.gz freeipa.git-4ffd6de823bbd37ee5955911b7e3969c2474e496.tar.xz freeipa.git-4ffd6de823bbd37ee5955911b7e3969c2474e496.zip |
Fixed tooltips in SUDO details page.
The title attribute in various HTML elements in SUDO details page
has been set to show the proper tooltips. Most of the values are
taken from the 'doc' attribute of sudorule parameters.
Diffstat (limited to 'install/static/details.js')
-rw-r--r-- | install/static/details.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/install/static/details.js b/install/static/details.js index 61c55796..7dfc0043 100644 --- a/install/static/details.js +++ b/install/static/details.js @@ -475,8 +475,9 @@ function ipa_details_facet(spec) { var section = that.sections[i]; $('<h2/>', { - 'name': section.name, - 'html': that.get_section_header_prefix(true) + ' ' + section.label + name: section.name, + title: section.label, + html: that.get_section_header_prefix(true) + ' ' + section.label }).appendTo(details); var div = $('<div/>', { @@ -579,8 +580,9 @@ function ipa_button(spec) { spec = spec || {}; var button = $('<a/>', { - 'id': spec.id, - 'html': spec.label, + id: spec.id, + html: spec.label, + title: spec.title || spec.label, 'class': 'ui-state-default ui-corner-all input_link' }); |