function appendScript(e, s, jq, wrapper) { console.log(wrapper) e.src = s; if (jq === true) { e.onload = function () { jQuery.noConflict(); appendScript(document.createElement('script'), 'https://apps.pfadipaprika.ch/meet/Resources/js/tether.min.js', false, wrapper); appendScript(document.createElement('script'), '//maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js', false, wrapper); fetch(); }; } wrapper.appendChild(e); } window.doorbellOptions = { id: '9981', appKey: 'Yel5c4IppxMDVhBjWr6IZweJI61ehzJBvZMbFCLZUazN7YsaPT5pucojGod9IyCZ' }; (function(w, d, t) { var hasLoaded = false; function l() { if (hasLoaded) { return; } hasLoaded = true; window.doorbellOptions.windowLoaded = true; var g = d.createElement(t);g.id = 'doorbellScript';g.type = 'text/javascript';g.async = true;g.src = 'https://embed.doorbell.io/button/'+window.doorbellOptions['id']+'?t='+(new Date().getTime());(d.getElementsByTagName('head')[0]||d.getElementsByTagName('body')[0]).appendChild(g); } if (w.attachEvent) { w.attachEvent('onload', l); } else if (w.addEventListener) { w.addEventListener('load', l, false); } else { l(); } if (d.readyState == 'complete') { l(); } }(window, document, 'script')); var container = document.createElement('div'); container.className = "container-fluid"; container.id = "meeting-container"; container.style = "display:none"; var meeting = document.getElementById("meeting"); meeting.appendChild(container); var fired_fetch = false; //appendScript(document.createElement('script'), '//code.jquery.com/jquery-latest.min.js', true, container); jQuery('#meeting').append(''); function addLoader() { jQuery('#meeting').append('
Chästlizettel wird geladen
Fehler:
' + xhr.responseText + '