diff --git a/dashboard-ui/components/guestinviter/guestinviter.js b/dashboard-ui/components/guestinviter/guestinviter.js index 47655d8c5..83e2c229c 100644 --- a/dashboard-ui/components/guestinviter/guestinviter.js +++ b/dashboard-ui/components/guestinviter/guestinviter.js @@ -111,7 +111,7 @@ dlg.innerHTML = html; // needed for the collapsible document.body.appendChild(dlg); - $(dlg).trigger('create'); + $(dlg.querySelector('form')).trigger('create'); paperDialogHelper.open(dlg); diff --git a/dashboard-ui/scripts/sync.js b/dashboard-ui/scripts/sync.js index c093dbdf5..a5fcb95ad 100644 --- a/dashboard-ui/scripts/sync.js +++ b/dashboard-ui/scripts/sync.js @@ -245,20 +245,18 @@ dlg.classList.add('popupEditor'); var html = ''; - html += '