EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: dailyblog on September 24, 2018, 05:31:59 AM



Title: sidemenu issue
Post by: dailyblog on September 24, 2018, 05:31:59 AM
in example: http://www.jeasyui.com/demo/main/index.php?plugin=SideMenu&theme=material-teal&dir=ltr&pitem=&sort=asc 

when you double click "Option3" , the node collapses and expand over and over again.


Title: Re: sidemenu issue
Post by: jarry on September 24, 2018, 06:51:32 PM
Please try to download a newer version from https://www.jeasyui.com/download/v16.php


Title: Re: sidemenu issue
Post by: dailyblog on September 25, 2018, 05:40:07 AM
hello,i missed another 2 issues.
After sidemenu was loaded ,there was an error as below:
Uncaught TypeError: Cannot read property 'options' of undefined
    at _12e (jquery.easyui.min.js:1784)
    at jquery.easyui.min.js:1777



the code :
 $(function(){
            $("#sm").sidemenu({
                onSelect:function(item){
                    console.log(item)
                }
            })
        })

when  i select an item, two same console information shows