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
This commit is contained in:
Endi S. Dewata
2011-06-13 18:12:11 -05:00
parent c5d8618424
commit c15b47d5b5

View File

@@ -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',