Minor fixes

This commit is contained in:
Alejandro Gallardo Escobar 2015-01-14 17:52:05 +01:00
parent b05a14bf5e
commit 3779bd518f
2 changed files with 5 additions and 6 deletions

View File

@ -31,9 +31,7 @@ if (is_ajax ()) {
if ($getChildren) {
$type = get_parameter('type', 'group');
$filter = get_parameter('filter',
array('search' => '',
'status' => AGENT_STATUS_ALL));
$filter = get_parameter('filter', array('searchAgent' => '', 'statusAgent' => AGENT_STATUS_ALL));
$id = (int)get_parameter('id', 0);
$childrenMethod = get_parameter('childrenMethod', 'on_demand');
$countModuleStatusMethod = get_parameter('countModuleStatusMethod', 'on_demand');
@ -57,8 +55,9 @@ if (is_ajax ()) {
}
$tree->setFilter(array(
'status' => $filter['status'],
'search' => $filter['search']));
'statusAgent' => $filter['statusAgent'],
'searchAgent' => $filter['searchAgent'])
);
echo json_encode(array('success' => 1, 'tree' => $tree->getArray()));
return;
}

View File

@ -2856,7 +2856,7 @@ table#policy_modules td * {
min-height: 26px;
}
.tree-last {
.tree-node:last-child {
background: 0 0;
}
.node-content {