|
|
@ -107,9 +107,9 @@ $(function() {
|
|
|
|
var expandFlag = false;
|
|
|
|
var expandFlag = false;
|
|
|
|
$("#expandAllBtn").click(function() {
|
|
|
|
$("#expandAllBtn").click(function() {
|
|
|
|
if (expandFlag) {
|
|
|
|
if (expandFlag) {
|
|
|
|
$('#bootstrap-table').bootstrapTreeTable('expandAll');
|
|
|
|
$('#bootstrap-tree-table').bootstrapTreeTable('expandAll');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$('#bootstrap-table').bootstrapTreeTable('collapseAll');
|
|
|
|
$('#bootstrap-tree-table').bootstrapTreeTable('collapseAll');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
expandFlag = expandFlag ? false: true;
|
|
|
|
expandFlag = expandFlag ? false: true;
|
|
|
|
})
|
|
|
|
})
|
|
|
|