Skip to content

Commit

Permalink
Fixed issue with remove button
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Mar 15, 2022
1 parent 0e7f631 commit fb88eec
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions View/Elements/Components/subscriberList.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</div>
<script>
(function($) {
var load, modal;
var load, modal, group;
var loadUrl = '<?php print $this->Html->url(
array(
'plugin' => "grouper_lite",
Expand All @@ -72,7 +72,7 @@
); ?>';
$('.members-btn').click(function(ev) {
var $this = $(this);
var group = $this.data('id');
group = $this.data('id');
modal = $('#subscribers');
modal.modal('toggle');

Expand Down Expand Up @@ -152,9 +152,6 @@
$(ev.target).attr('disabled', 'disabled');
var err = $('#subscribers .error');
err.text('<?php echo _txt('pl.grouperlite.message.user-not-removed-error'); ?>').show();
},
complete: function() {

}
});
}
Expand All @@ -174,9 +171,6 @@

var err = $('#subscribers .error');
err.text(msg).show();
},
complete: function() {

}
});
}
Expand Down

0 comments on commit fb88eec

Please sign in to comment.