Minor fixes
This commit is contained in:
parent
2c8c1d4593
commit
bd26aa8f8d
|
@ -622,7 +622,6 @@ var TreeController = {
|
||||||
data: postData,
|
data: postData,
|
||||||
success: function(data, textStatus, xhr) {
|
success: function(data, textStatus, xhr) {
|
||||||
callback(null, data);
|
callback(null, data);
|
||||||
console.log(data);
|
|
||||||
$("#fixed-bottom-box-head-title").html(
|
$("#fixed-bottom-box-head-title").html(
|
||||||
$("#fixedBottomHeadTitle").html()
|
$("#fixedBottomHeadTitle").html()
|
||||||
);
|
);
|
||||||
|
@ -1281,8 +1280,6 @@ var TreeController = {
|
||||||
if (error) {
|
if (error) {
|
||||||
// console.error(error);
|
// console.error(error);
|
||||||
} else {
|
} else {
|
||||||
console.log(element.name);
|
|
||||||
console.log("1");
|
|
||||||
controller.detailRecipient
|
controller.detailRecipient
|
||||||
.render(element.name, data)
|
.render(element.name, data)
|
||||||
.open();
|
.open();
|
||||||
|
@ -1312,14 +1309,15 @@ var TreeController = {
|
||||||
// Add children
|
// Add children
|
||||||
var $children = _processGroup($node, element.children);
|
var $children = _processGroup($node, element.children);
|
||||||
$node.data("children", $children);
|
$node.data("children", $children);
|
||||||
|
/*
|
||||||
if (
|
if (
|
||||||
typeof element.searchChildren == "undefined" ||
|
typeof element.searchChildren == "undefined" ||
|
||||||
!element.searchChildren
|
!element.searchChildren
|
||||||
) {
|
) {
|
||||||
$leafIcon.click(function(e) {
|
$leafIcon.click(function(e) {
|
||||||
|
console.log(e);
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
return;
|
||||||
if ($node.hasClass("leaf-open")) {
|
if ($node.hasClass("leaf-open")) {
|
||||||
$node
|
$node
|
||||||
.removeClass("leaf-open")
|
.removeClass("leaf-open")
|
||||||
|
@ -1335,6 +1333,7 @@ var TreeController = {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in New Issue