Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Bug while trying to create a harmonica widget

#364

Hi there,

I'm using RightJS 2.0.0, and I'm trying to create a Harmonica widget like this:

<div> 
  <dl class='rui-tabs' data-tabs='{selected:1}'> 
    <dt><a href="#tab1}">Tab 1</a></dt> 
    <dd id='tab1'><a href="">My content</a></dd>
    <dt><a href="#tab2}">Tab2</a></dt> 
    <dd id='tab2'><a href="">My content 2</a></dd>
  </dl>
</div>

Then, on Chrome, on page load RightJS throws this error:

Uncaught TypeError: Object 1 has no method 'select' (right.js:607)

The data-tabs attribute is causing it. Any thoughts?

Reported by Fabio Kreusch · September 29th, 2010 @ 03:29 PM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. MadRabbit
    MadRabbit
    • Tag changed from bug, harmonica to bug, harmonica, tabs

    Hey Fabio, thanks for letting me know, fill fix it shortly

    September 30th, 2010 @ 09:33 AM

  2. MadRabbit
    MadRabbit

    I've just updated the build on http://rightjs.org/ui/tabs please give it a spin

    September 30th, 2010 @ 04:35 PM

  3. Fabio Kreusch
    Fabio Kreusch

    I have tried downloading it on the website, but it's still on version 2.0.0.

    October 1st, 2010 @ 02:20 AM

  4. MadRabbit
    MadRabbit

    Ooops, my bad. Accidentally pushed the old version. Please give it a try now http://rightjs.org/builds/ui/right-tabs-src.js

    October 1st, 2010 @ 09:03 AM

  5. Fabio Kreusch
    Fabio Kreusch

    Great! Now it's fine, bug fixed, thanks!

    October 1st, 2010 @ 09:51 AM

  6. MadRabbit
    MadRabbit
    • State changed from new to resolved

    Gxcellent!

    October 1st, 2010 @ 09:53 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.