{"action":"closed","issue":{"url":"https://api.github.com/repos/ReduxFramework/redux-framework/issues/2023","labels_url":"https://api.github.com/repos/ReduxFramework/redux-framework/issues/2023/labels{/name}","comments_url":"https://api.github.com/repos/ReduxFramework/redux-framework/issues/2023/comments","events_url":"https://api.github.com/repos/ReduxFramework/redux-framework/issues/2023/events","html_url":"https://github.com/ReduxFramework/redux-framework/issues/2023","id":56361852,"number":2023,"title":"JS:Custom submenu not working","user":{"login":"abeel","id":1276279,"avatar_url":"https://avatars.githubusercontent.com/u/1276279?v=3","gravatar_id":"","url":"https://api.github.com/users/abeel","html_url":"https://github.com/abeel","followers_url":"https://api.github.com/users/abeel/followers","following_url":"https://api.github.com/users/abeel/following{/other_user}","gists_url":"https://api.github.com/users/abeel/gists{/gist_id}","starred_url":"https://api.github.com/users/abeel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeel/subscriptions","organizations_url":"https://api.github.com/users/abeel/orgs","repos_url":"https://api.github.com/users/abeel/repos","events_url":"https://api.github.com/users/abeel/events{/privacy}","received_events_url":"https://api.github.com/users/abeel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-03T10:50:32Z","updated_at":"2015-02-03T22:41:05Z","closed_at":"2015-02-03T22:41:05Z","body":"Hi,\r\nwhen i added my custom submenu to my redux parent menu, the link of submenu it is not clickable because of this line in redux.js : \r\n\r\n            $( '#toplevel_page_' + redux.args.slug + ' .wp-submenu a, #wp-admin-bar-' + redux.args.slug  + '        a.ab-item' ).click(\r\n                      function( e ) {\r\n                                 if ( $( '#toplevel_page_' + redux.args.slug ).hasClass( 'wp-menu-open' ) || $( this ).hasClass( 'ab-item' ) ) {\r\n                                e.preventDefault();\r\n\r\n                             var url = $( this ).attr( 'href' ).split( '&tab=' );\r\n                        $( '#' + url[1] + '_section_group_li_a' ).click();\r\n                    return false;\r\n                }\r\n            }\r\n        );\r\n\r\ncan you please correct this ? add else if isnot redux submenu \r\n\r\nThank you,\r\n"}}