Merge branch '1125-Vista-de-Agente-Modulo' into 'develop'
Disable autosubmit in agent module view - #1125 See merge request artica/pandorafms!753
This commit is contained in:
commit
9ecc68bfe7
|
@ -546,9 +546,11 @@ ui_require_jquery_file('pandora');
|
|||
});
|
||||
|
||||
$('#group_id').change(function(){
|
||||
var regx = /&group_id=\d*/g;
|
||||
var url = location.href.replace(regx, "");
|
||||
location.href = url+"&group_id="+$("#group_id").val();
|
||||
if(location.href.indexOf("extensions/agents_modules") == -1){
|
||||
var regx = /&group_id=\d*/g;
|
||||
var url = location.href.replace(regx, "");
|
||||
location.href = url+"&group_id="+$("#group_id").val();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
@ -72,7 +72,7 @@ function mainAgentsModules() {
|
|||
$hor_offset = (int)get_parameter('hor_offset', 0);
|
||||
$block = $config['block_size'];
|
||||
if(get_parameter('modulegroup') != null){
|
||||
$agents_id = (array)get_parameter('id_agents2', -1);
|
||||
$agents_id = (array)get_parameter('id_agents2', -1);
|
||||
}
|
||||
$selection_a_m = (int)get_parameter('selection_agent_module');
|
||||
$modules_selected = (array)get_parameter('module', 0);
|
||||
|
|
Loading…
Reference in New Issue