summaryrefslogtreecommitdiffstats
path: root/install/static/test/ipa_tests.html
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-09-27 23:35:09 -0500
committerAdam Young <ayoung@redhat.com>2010-09-28 17:35:23 -0400
commitd201a4350d8ce0adb97e8f161ab916bb6bc066a5 (patch)
tree618d2a9a42a51ce2f20915b2c70cf7a5564ca3f3 /install/static/test/ipa_tests.html
parentc298560a1e733908148224b0fef6cc6042cbbe82 (diff)
downloadfreeipa-d201a4350d8ce0adb97e8f161ab916bb6bc066a5.tar.gz
freeipa-d201a4350d8ce0adb97e8f161ab916bb6bc066a5.tar.xz
freeipa-d201a4350d8ce0adb97e8f161ab916bb6bc066a5.zip
Fixed tab selection on page reload.
jQuery tabs by default will display the first tab, so reloading a page or opening a page from bookmark may not show the active tab correctly. The nav_select_tabs() has been added to get the list of active tabs from the hash values in the URL and then activate the appropriate tabs. It will be called during page initialization and whenever the hash values change. The navigation.js and webui.js has been cleaned up to better utilize jQuery API. jQuery selectors are used to create DOM objects that can be used by subsequent codes. Tab selection handler is now added to the tabs object instead of anchors. The change event no longer needs to be triggered manually.
Diffstat (limited to 'install/static/test/ipa_tests.html')
0 files changed, 0 insertions, 0 deletions