Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

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)
  • The forum ‘1.0.x + Bootstrap addon’ is closed to new topics and replies.