Fix undefined error

This commit is contained in:
Rob Garrison 2018-04-25 18:11:37 -05:00
parent e94c7edb38
commit 3950482f34

View File

@ -167,6 +167,9 @@ const popupExclusions = (() => {
}
function handlePopupSave(style) {
if (typeof style.exclusions === 'undefined') {
style.exclusions = {};
}
const current = Object.keys(style.exclusions);
const select = $('#popup-exclusions', messageBox.element);
const all = getMultiOptions({select});