From 7ec587b75bbeec8a5fd07da2a0101c60083d0537 Mon Sep 17 00:00:00 2001 From: Alexey ERYSHEV Date: Mon, 5 Dec 2016 13:17:36 +0100 Subject: [PATCH 1/2] Add option to control sidemenu's tree views. --- dist/js/app.js | 6 +++++- documentation/build/include/adminlte-options.html | 2 ++ documentation/index.html | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/dist/js/app.js b/dist/js/app.js index 5dc09ee2c..93158d3e1 100644 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -63,6 +63,8 @@ $.AdminLTE.options = { //choose to enable the plugin, make sure you load the script //before AdminLTE's app.js enableFastclick: false, + //Control Sidebar Tree views + enableControlTreeView: true, //Control Sidebar Options enableControlSidebar: true, controlSidebarOptions: { @@ -160,7 +162,9 @@ $(function () { $.AdminLTE.layout.activate(); //Enable sidebar tree view controls - $.AdminLTE.tree('.sidebar'); + if (o.enableControlTreeView) { + $.AdminLTE.tree('.sidebar'); + } //Enable control sidebar if (o.enableControlSidebar) { diff --git a/documentation/build/include/adminlte-options.html b/documentation/build/include/adminlte-options.html index 69b4da6ab..d3b0256ce 100644 --- a/documentation/build/include/adminlte-options.html +++ b/documentation/build/include/adminlte-options.html @@ -54,6 +54,8 @@ //choose to enable the plugin, make sure you load the script //before AdminLTE's app.js enableFastclick: true, + //Control Sidebar Tree Views + enableControlTreeView: true, //Control Sidebar Options enableControlSidebar: true, controlSidebarOptions: { diff --git a/documentation/index.html b/documentation/index.html index daf89b6f8..0effb7347 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -358,6 +358,8 @@ AdminLTE/ //choose to enable the plugin, make sure you load the script //before AdminLTE's app.js enableFastclick: true, + //Control Sidebar Tree Views + enableControlTreeView: true, //Control Sidebar Options enableControlSidebar: true, controlSidebarOptions: { From 12ea7168fbfdc4e516578ce58910654c8f4cf165 Mon Sep 17 00:00:00 2001 From: Abdullah Almsaeed Date: Sun, 1 Jan 2017 10:23:43 -0500 Subject: [PATCH 2/2] =?UTF-8?q?Happy=20New=20Years!=20=F0=9F=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 4c31b5630..7ea2b8727 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2016 Abdullah Almsaeed +Copyright (c) 2014-2017 Abdullah Almsaeed Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in