Merge branch 'ent-fix-alert-action-creation' into 'develop'

Fixed alert action creation problem.

See merge request artica/pandorafms!4313
This commit is contained in:
Daniel Rodriguez 2021-08-05 07:56:22 +00:00
commit 39d4466658
1 changed files with 4 additions and 3 deletions

View File

@ -135,6 +135,10 @@ if ($id) {
$create_wu_integria = $action['create_wu_integria'];
}
if (users_can_manage_group_all('LW') === false && !$id) {
$group = users_get_first_group(false, 'LW', false);
}
// Hidden div with help hint to fill with javascript.
html_print_div(
[
@ -623,9 +627,6 @@ $(document).ready (function () {
$("#group option").each(function(index, value) {
var current_group = $(value).val();
});
if (data.id_group != 0 && $("#group").val() != data.id_group) {
$("#group").val(0);
}
var integria_custom_fields_values = [];
var integria_custom_fields_rvalues = [];