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:
nramon 2017-10-30 15:29:09 +01:00
commit 9ecc68bfe7
2 changed files with 6 additions and 4 deletions

View File

@ -546,9 +546,11 @@ ui_require_jquery_file('pandora');
});
$('#group_id').change(function(){
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();
}
});
});