We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The collpase and expand events for the tree navigation items are never triggered. You want to trigger it on the ul elements of the depending tree, but its always undefined. See: https://github.com/almasaeed2010/AdminLTE/blob/master/dist/js/adminlte.js#L457 https://github.com/almasaeed2010/AdminLTE/blob/master/dist/js/adminlte.js#L468 this.element is always undefined because 'this' is the reference to the slideDown/Up event. You have to save it to a variable before the animate call, i.e.:
var $element = $(this.element); tree.slideDown(this.options.animationSpeed, function () { $element.trigger(expandedEvent) })
Then the event gets triggered as it should.
The text was updated successfully, but these errors were encountered:
@NePheus good catch! Thanks for reporting. Will fix soon.
Sorry, something went wrong.
Fix issue #1536
4b0d73b
Fixed in master (v2.4)
No branches or pull requests
The collpase and expand events for the tree navigation items are never triggered. You want to trigger it on the ul elements of the depending tree, but its always undefined. See:
https://github.com/almasaeed2010/AdminLTE/blob/master/dist/js/adminlte.js#L457
https://github.com/almasaeed2010/AdminLTE/blob/master/dist/js/adminlte.js#L468
this.element is always undefined because 'this' is the reference to the slideDown/Up event. You have to save it to a variable before the animate call, i.e.:
Then the event gets triggered as it should.
The text was updated successfully, but these errors were encountered: