mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 17:38:50 -04:00
Update buttons for collapsible checkboxes
We use collapsible checkboxes when setting which folders team members can see (on the manage folder page and on the edit team member page).
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
|
||||
return $(`<div class="selection-footer${stickyClass}">
|
||||
<button
|
||||
class="button button-secondary"
|
||||
class="govuk-button govuk-button--secondary selection-footer__button"
|
||||
aria-expanded="${expanded ? 'true' : 'false'}"
|
||||
aria-controls="${this.fieldsetId}">
|
||||
${buttonContent}
|
||||
@@ -159,7 +159,7 @@
|
||||
CollapsibleCheckboxes.prototype.bindEvents = function() {
|
||||
const self = this;
|
||||
|
||||
this.$formGroup.on('click', '.button', this.handleClick.bind(this));
|
||||
this.$formGroup.on('click', '.govuk-button', this.handleClick.bind(this));
|
||||
this.$checkboxes.on('click', this.handleSelection.bind(this));
|
||||
|
||||
this.summary.bindEvents(this);
|
||||
|
||||
Reference in New Issue
Block a user