Loading editor/html/js/editor.js +9 −0 Original line number Diff line number Diff line Loading @@ -834,6 +834,15 @@ importHtmlPollTimer = null; progressEl.style.display = 'none'; document.getElementById('import-html-dialog').close(); // The job just rewrote doc.root's Image srcs/CustomCss url()s // from external to mediadb-hosted (see rewriteImagePluginSrcs) -- // without this, the canvas keeps showing whatever it loaded right // after the initial import response, i.e. the pre-rewrite // external srcs, until the next unrelated refresh or a full page // reload. Canvas.clearSelection(); DocumentTree.clearSelection(); PropertiesPanel.clear(); refreshDocument(); var parts = cssJsParts.slice(); if (status.images_imported) parts.push(status.images_imported + ' Bild(er) in MediaDB importiert'); if (status.images_failed) parts.push(status.images_failed + ' Bild(er) fehlgeschlagen'); Loading Loading
editor/html/js/editor.js +9 −0 Original line number Diff line number Diff line Loading @@ -834,6 +834,15 @@ importHtmlPollTimer = null; progressEl.style.display = 'none'; document.getElementById('import-html-dialog').close(); // The job just rewrote doc.root's Image srcs/CustomCss url()s // from external to mediadb-hosted (see rewriteImagePluginSrcs) -- // without this, the canvas keeps showing whatever it loaded right // after the initial import response, i.e. the pre-rewrite // external srcs, until the next unrelated refresh or a full page // reload. Canvas.clearSelection(); DocumentTree.clearSelection(); PropertiesPanel.clear(); refreshDocument(); var parts = cssJsParts.slice(); if (status.images_imported) parts.push(status.images_imported + ' Bild(er) in MediaDB importiert'); if (status.images_failed) parts.push(status.images_failed + ' Bild(er) fehlgeschlagen'); Loading