TT#99500 Fix adding subscriber to group

* The profile_set field was inactivated in form if subscriber
	   had a profile set, but just for cosmetic purposes; this is
	   only for pbx extensions, other subscribers don't have this
	   field inactivation; inactivating it, made subscriber editing
	   in Panel UI behave weirdly because a check for profile_set
	   would fail since it's missing
	 * Bottom line, we can sacrifice the cosmetic part for having
	   subscriber editing function properly

Change-Id: I6a9a7cf3e5c7250d20dd5873521f72cdcc1b6d55
mr9.2
Flaviu Mates 5 years ago
parent c8049ea387
commit 9249dee12f

@ -44,9 +44,6 @@ override 'update_fields' => sub {
my $set_id = $c->stash->{subscriber}->provisioning_voip_subscriber->profile_set_id;
if($set_id) {
# don't show the profile set selection if we already have a profile set
$profile_set_field->inactive(1) if($profile_set_field);
my $profile = $self->field('profile');
if($profile) {
$profile->field('id')->ajax_src(

Loading…
Cancel
Save