mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
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(){
|
$('#group_id').change(function(){
|
||||||
var regx = /&group_id=\d*/g;
|
if(location.href.indexOf("extensions/agents_modules") == -1){
|
||||||
var url = location.href.replace(regx, "");
|
var regx = /&group_id=\d*/g;
|
||||||
location.href = url+"&group_id="+$("#group_id").val();
|
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);
|
$hor_offset = (int)get_parameter('hor_offset', 0);
|
||||||
$block = $config['block_size'];
|
$block = $config['block_size'];
|
||||||
if(get_parameter('modulegroup') != null){
|
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');
|
$selection_a_m = (int)get_parameter('selection_agent_module');
|
||||||
$modules_selected = (array)get_parameter('module', 0);
|
$modules_selected = (array)get_parameter('module', 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user