[Freeipa-devel] [PATCH] Fixed tab selection on page reload.

Adam Young ayoung at redhat.com
Tue Sep 28 21:37:25 UTC 2010


On 09/28/2010 02:54 PM, Endi Sukma Dewata wrote:
> Hi,
>
> Please review the attached patch. Thanks!
>
> 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.
>
> --
> Endi S. Dewata
>    
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
Pushed to master
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100928/2c6f87b8/attachment.htm>


More information about the Freeipa-devel mailing list