jquery ui tabs load event does not fire

Posted by illdev on Stack Overflow See other posts from Stack Overflow or by illdev
Published on 2010-04-11T00:37:32Z Indexed on 2010/04/11 0:43 UTC
Read the original article Hit count: 632

Filed under:
|
|

I have got the following very simple code:

function init() {
    var articleTabs = $('#articleTabs');
    articleTabs.tabs('add',
            admin.pageVars.siteRoot + '/articles/themes/' + admin.pageVars.params.id, 'Temas');
    articleTabs.tabs({
        load : function(event, ui) {
            $('.jsonForm').jsonForm();
        }
    });
}

This successfully adds a new tab panel to an existing tab control. However upon activation, the load function does never fire.

What is my mistake? (There are no javascript exceptions)

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui