Skip to content
4 changes: 2 additions & 2 deletions amd/build/custom.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion amd/build/custom.min.js.map

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions amd/src/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,17 @@ define(['jquery'], function($) {
i === 'enabled' ||
i === 'global' ||
i === 'dismissible' ||
i === 'aicon'
i === 'aicon' ||
i === 'sendnotifications'
) && data[i] == 1) {
affectelement.prop('checked', true);
} else if (
(i === 'enabled' ||
i === 'global' ||
i === 'dismissible' ||
i === 'aicon') && data[i] == 0) {
i === 'aicon' ||
i === 'sendnotifications'
) && data[i] == 0) {
affectelement.prop('checked', false);
} else {
affectelement.val(data[i]);
Expand Down Expand Up @@ -392,4 +395,4 @@ define(['jquery'], function($) {
});
}
};
});
});
Loading