You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.addEventListener('message', function (event) {
var sentForm = event.data;
if (sentForm['module']!=undefined) {
var thisp = this;
let sseaction = typeof(sentForm.SSE_SOURCE_ACTION) != 'undefined' ? sentForm.SSE_SOURCE_ACTION : 'MassEditSave';
var cbierels_es = new EventSource('index.php?module='+sentForm['module']+'&action='+sentForm['module']+'Ajax&file='+sseaction+'¶ms='+encodeURIComponent(JSON.stringify(sentForm)));
cbierels_es.addEventListener('message', function (event) {
var result = JSON.parse(event.data);
thisp.postMessage(result);
if (event.lastEventId == 'CLOSE') {
thisp.postMessage('CLOSE');
cbierels_es.close();
}
}, false);
cbierels_es.addEventListener('error', function (e) {