Error in line 241

Home Forums Older releases 1.0.x + Bootstrap addon Error in line 241

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2650
    bdaniel27539
    Participant

    I have been using SmartMenus with Bootstrap for about 9 months. I just upgraded to the newest version. I have not made any modifications.

    I get an error on line 214 of jquery.smartmenus.js. Has any one had this problem. I commented out the following lines and things seem to work fine:

    if ($this.attr(‘id’).indexOf(self.accessIdPrefix) == 0) {
    $this.removeAttr(‘id’);
    }

    I am using jquery 1.11.0

    Thanks,
    Bobby

    #2651
    admin
    Keymaster

    Hi,

    There is a bug in the “destroy” method (also affecting the “refresh” method) in v1.0.0-beta1 which affects the Bootstrap add-on. I recently fixed it and the fix will be included in the next release but is also available right now in the latest revision on GitHub (you need to get both files directly from these links):

    https://raw.githubusercontent.com/vadikom/smartmenus/master/src/addons/bootstrap/jquery.smartmenus.bootstrap.js
    https://raw.githubusercontent.com/vadikom/smartmenus/master/src/jquery.smartmenus.js

    Please let me know if you still have any troubles after using these latest revisions.

    #2652
    bdaniel27539
    Participant

    That took care of my problem. Also just FYI, I am using SmartMenus with 947 menu items and it works great.

    Thanks for the quick response.

    http://www.bobbystuff.com

    Bobby

    #2657
    admin
    Keymaster

    Np at all! I’ve tried to design the script so that the amount of sub menus/menu items affect as little as possible the performance of the script so it’s really nice to see real world solutions like yours working fine.

    Cheers!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Register

You will be emailed a link to set your password.

Login

Lost password?