Skip to main content

Search and Top Navigation

#7493 closed bug (wontfix)

Opened June 21, 2011 09:57PM UTC

Closed June 27, 2011 12:46PM UTC

Last modified July 01, 2011 12:22PM UTC

ui.tabs: load event does not work as expected

Reported by: foomaster Owned by:
Priority: minor Milestone: git
Component: ui.tabs Version: git (not yet released)
Keywords: Cc:
Blocked by: Blocking:

Hi there,

the property of the load event does not seem to work.

Expected to work:

  load: function(e, ui) {"span").html("Test");

but the content of the tab remains unchanged.

This works (the tabs DIV has id="tabs"):

  load: function() {
    $("#tabs .ui-tabs-loading span").html("Test 2");


  <div id="tabs">
      <li><a href="some/URL"><span>Tab 1</span></a></li>
      <li><a href="other/URL"><span>Tab 2</span></a></li>

Seems the tab property is not initialized properly.


Attachments (0)
Change History (4)

Changed June 27, 2011 12:46PM UTC by scottgonzalez comment:1

milestone: 1.9git
resolution: → wontfix
status: newclosed

This works fine for me:

Changed June 30, 2011 06:23PM UTC by foomaster comment:2

Replying to [comment:1 scott.gonzalez]:

This works fine for me:

Hmm, this works:

load: function(e, ui) {

So is not jQuery'd...

Changed June 30, 2011 06:26PM UTC by scottgonzalez comment:3

You're probably not turning off the back compat layer, so you're getting the 1.8 API. You need to have $.uiBackCompat = false; after you load jQuery, but before you load jQuery UI (see the jsbin example).

Changed July 01, 2011 12:22PM UTC by foomaster comment:4

Thanks, that's the solution!