Fixed function to get string type
This commit is contained in:
parent
b5b976e41b
commit
9b01919342
|
@ -1785,7 +1785,7 @@ function setBarsGraph(id_data, values) {
|
|||
parameter.push ({name: "page", value: "include/ajax/visual_console_builder.ajax"});
|
||||
parameter.push ({name: "action", value: "get_module_type_string"});
|
||||
parameter.push ({name: "id_agent", value: values['id_agent']});
|
||||
parameter.push ({name: "id_agent_module", value: values['module']});
|
||||
parameter.push ({name: "module", value: values['module']});
|
||||
parameter.push ({name: "id_visual_console", value: id_visual_console});
|
||||
jQuery.ajax({
|
||||
url: get_url_ajax(),
|
||||
|
|
|
@ -144,7 +144,7 @@ switch ($action) {
|
|||
|
||||
case 'get_module_type_string':
|
||||
$data = array ();
|
||||
|
||||
|
||||
$layoutData = db_get_row_filter('tlayout_data', array('id' => $id_element));
|
||||
|
||||
if ($layoutData['id_metaconsole'] != 0) {
|
||||
|
@ -158,7 +158,7 @@ switch ($action) {
|
|||
$is_string = db_get_value_filter ('id_tipo_modulo', 'tagente_modulo',
|
||||
array ('id_agente' => $id_agent,
|
||||
'id_agente_modulo' => $id_module));
|
||||
|
||||
html_debug($is_string, true);
|
||||
if ($layoutData['id_metaconsole'] != 0) {
|
||||
metaconsole_restore_db();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue