Commit 7114a3a4 authored by jan.koester's avatar jan.koester
Browse files

test

parent 91ffe1e8
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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');