fixed minor errors and no show warnning in console to create agent groups
This commit is contained in:
parent
c6dbf7c3b5
commit
fb4cc26193
|
@ -98,7 +98,7 @@ else {
|
|||
|
||||
}
|
||||
|
||||
|
||||
$table = new stdClass();
|
||||
$table->width = '100%';
|
||||
$table->class = 'databox filters';
|
||||
if (defined("METACONSOLE")) {
|
||||
|
@ -203,7 +203,9 @@ else
|
|||
$sec = "gagente";
|
||||
|
||||
if (isset($config['metaconsole_node_id']) && $config['metaconsole_node_id'] > 0) {
|
||||
$confirm_bottom = " onsubmit=' return message_check_create();'";
|
||||
if(isset($config['metaconsole_agent_cache']) && $config['metaconsole_agent_cache'] == 1){
|
||||
$confirm_bottom = " onsubmit=' return message_check_create();'";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -187,6 +187,7 @@ foreach ($groups as $group_key => $group_val) {
|
|||
// Format component groups in tree form
|
||||
$groups = component_groups_get_groups_tree_recursive($groups_clean,0,0);
|
||||
|
||||
$table = new stdClass();
|
||||
$table->width = '100%';
|
||||
$table->class = 'databox data';
|
||||
$table->head = array ();
|
||||
|
|
|
@ -44,6 +44,7 @@ else {
|
|||
$parent = '';
|
||||
}
|
||||
|
||||
$table = new stdClass();
|
||||
$table->width = '100%';
|
||||
$table->class = 'databox filters';
|
||||
|
||||
|
|
|
@ -126,9 +126,10 @@ if (is_ajax ()) {
|
|||
$id_group = (int) get_parameter('id_module_group');
|
||||
$id_agents = get_parameter('id_agents');
|
||||
$selection = get_parameter('selection');
|
||||
|
||||
$agents = implode(",", $id_agents);
|
||||
|
||||
if(!isset($id_agents)){
|
||||
$agents = implode(",", $id_agents);
|
||||
}
|
||||
|
||||
$filter_group = "";
|
||||
$filter_agent = "";
|
||||
|
||||
|
|
Loading…
Reference in New Issue