jQuery UI Widgets Forums Navigation Tabs LI id's are gone

This topic contains 11 replies, has 3 voices, and was last updated by  Dimitar 3 years, 3 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
  • LI id's are gone #87193

    muis
    Participant

    Hi,

    When I use the JQXTabs I name my LI’s so I can show and hide them.

      <li id=”li_first”>First
      <li id=”li_second”>Second

    This worked until 4.1.2, but since I updated to 4.2.1 the ID’s are gone.

    LI id's are gone #87211

    Dimitar
    Participant

    Hi muis,

    We were not able to reproduce this issue with version 4.2.1. Here is the example we tested: https://www.jseditor.io/?key=jqxtabs-with-li-ids.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    LI id's are gone #87239

    muis
    Participant

    In javascript:

    After jqxtabs call e.g.:

    $(‘#li_first’).hide();

    Doesnt work because the first li has been renamed by jqxtabs. That is new behavior.

    LI id's are gone #87241

    Dimitar
    Participant

    Hi muis,

    Your requirement works fine in the following example: https://www.jseditor.io/?key=jqxtabs-hide-tab-by-id.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    LI id's are gone #89412

    Pfhoenix
    Participant

    I updated from 4.1.1 to 4.3.0 today and this exact behavior popped up immediately. Prior updating, I could reference tabs by the ID I gave them. After updating, attempting to reference tabs by the ID I gave them caused an exception in jqxcore at line 4218, column 25, with an invalid selector.

    LI id's are gone #89413

    Pfhoenix
    Participant

    Upon further research, I’ve discovered a difference between the minified code and source code. The difference is a check to see if the ‘id’ attribute exists or not.

    LI id's are gone #89431

    Dimitar
    Participant

    Hi Pfhoenix,

    Please update to the latest version of jQWidgets (4.4.0) and any related issues should be gone.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    LI id's are gone #89486

    Pfhoenix
    Participant

    As I wrote to your support e-mail address, version 4.4.0 suffers the same exact problem as what I described with 4.3.0.

    LI id's are gone #89506

    Dimitar
    Participant

    Hi Pfhoenix,

    We are currently unable to reproduce the issue, but we will continue testing and if we confirm the erroneous behaviour, we will create a work item on the matter.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    LI id's are gone #89525

    Pfhoenix
    Participant

    When you test, please pay attention to the fact that I said the problem was with the source code you released, not the minified code. My project uses your source code when doing debugging/testing, which is how I found the problem.

    LI id's are gone #89798

    Pfhoenix
    Participant

    It occurred to me just now why you are unable to “reproduce the issue”. There are two issues, actually :

    1. 4.3.0’s source code was inconsistent with the release, minified code, where the source code had the following bug :
    2. jqxTab is renaming LI IDs without checking if they have an ID or not

    You guys fixed #1 by taking the bugged source code and minifying it to be the release code. You propagated the bug instead of fixing it. Can you please address this properly by fixing the bug in both source and release code?

    LI id's are gone #89826

    Dimitar
    Participant

    Hi Pfhoenix,

    Thank you for your feedback. Such issue should no longer occur in any release of the next version of jQWidgets.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.