summaryrefslogtreecommitdiffstats
path: root/install/ui/details.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-06-13 18:12:11 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-06-14 15:34:30 +0000
commitc15b47d5b52dc1a48ea82881335d616e7b1e285e (patch)
tree48287782aec4b06e6762e718e0c37ebd8c91b09b /install/ui/details.js
parentc5d8618424de3766db9f104d0873c884b53a4feb (diff)
downloadfreeipa-c15b47d5b52dc1a48ea82881335d616e7b1e285e.tar.gz
freeipa-c15b47d5b52dc1a48ea82881335d616e7b1e285e.tar.xz
freeipa-c15b47d5b52dc1a48ea82881335d616e7b1e285e.zip
Fixed tab navigation.
The buttons were previously skipped during tab navigation because they do not have an href attribute. The IPA.button has been fixed to always provide an href attribute. Ticket #983
Diffstat (limited to 'install/ui/details.js')
-rw-r--r--install/ui/details.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/ui/details.js b/install/ui/details.js
index 7fa72eff5..f5a3e4d80 100644
--- a/install/ui/details.js
+++ b/install/ui/details.js
@@ -673,6 +673,8 @@ IPA.button = function(spec) {
var button = $('<a/>', {
id: spec.id,
+ name: spec.name,
+ href: spec.href || '#' + (spec.name || 'button'),
html: spec.label,
title: spec.title || spec.label,
'class': 'ui-state-default ui-corner-all',