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 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 b19b6cbf2..18fa46ada 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: {