mirror of https://github.com/ColorlibHQ/AdminLTE
Update boxwidget and tree to activate ajax loaded elements
parent
8f1173b340
commit
0bd8306502
|
@ -385,7 +385,7 @@ function _init() {
|
||||||
$.AdminLTE.tree = function (menu) {
|
$.AdminLTE.tree = function (menu) {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
var animationSpeed = $.AdminLTE.options.animationSpeed;
|
var animationSpeed = $.AdminLTE.options.animationSpeed;
|
||||||
$("li a", $(menu)).on('click', function (e) {
|
$(document).on('click', menu + ' li a', function (e) {
|
||||||
//Get the clicked link and the next element
|
//Get the clicked link and the next element
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
var checkElement = $this.next();
|
var checkElement = $this.next();
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue