Thanks for the demo. Would you mind creating a ticket?

--Klaus



On 20 Mrz., 22:48, rockwild <[email protected]> wrote:
> Hi Klaus,
> Thanks for looking into this. I have set up a rough demo 
> athttp://games4moola.com/portalpage.cfm. Just use the delete link to
> delete the first tab and then try to delete the second tab. You can
> also try clicking the second tab then going back to the first and
> deleting them (which works for me) and if you get them both deleted,
> hit the "+" tab to add two more and try to delete those and the same
> issue will happen.
>
> On Mar 20, 2:11 pm, Klaus Hartl <[email protected]> wrote:
>
> > I just tested and cannot really reproduce this bug. Could you create a
> > JSBin or other online accessible demo?
>
> > --Klaus
>
> > On 20 Mrz., 15:58, rockwild <[email protected]> wrote:
>
> > > I just wanted to add a little more information. I changed the index to
> > > the new way of: tabsEl.tabs("option", "selected"); and am still
> > > getting the same results. I am using jQuery 1.3.2 and jQueryUI 1.7.
> > > The tabs are also sortable, but the problem still exists when the tabs
> > > are not made sortable. I am loading thetabcontent remotely and
> > > noticed that I don't appear to have an issue as long as I select
> > > anothertaband then go back to thetabI am trying to delete before
> > > deleting it. I tried using the .index() method to find the correct
> > > index, but this does not work if the tabs have been rearranged.
>
> > > Thanks again for any help!
>
> > > On Mar 19, 3:36 pm, rockwild <[email protected]> wrote:
>
> > > > I just recently started using jQuery so I wanted to ask about this
> > > > before reporting it as a bug. It appears that occasionally when atab
> > > > is deleted using $("#example").tabs("remove", index) the selected.tabs
> > > > property in data is set to -1. This makes any operations done after
> > > > the deletion that require the selectedtab'sindex not work when using
> > > > the recommended way of getting the currently selectedtabindex: $
> > > > ("#tab_element").data("selected.tabs");. I tried setting the
> > > > selected.tabs value in the "show" callback function, but that didn't
> > > > seem to change anything. Here is the function I am using to delete
> > > > tabs:
>
> > > > function deleteTab(){
> > > >                 var tabEl = $j(".ui-tabs-selected");
> > > >                 var tabsEl = $j("#tabs");
> > > >                 if(confirm('Are you sure you want to delete the "' +  
> > > > tabEl.find
> > > > ("span").html() + '"tab?')){
> > > >                         tabsEl.tabs("remove", 
> > > > tabsEl.data("selected.tabs"));
> > > >                 }
> > > >         }
>
> > > > Thank you for any help!
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to