diff --git a/editor/svg-editor.js b/editor/svg-editor.js index ce7254d0..c3953f6c 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -4224,6 +4224,7 @@ // get the text contents of the file and send it to the canvas if (window.FileReader) { var importImage = function(e) { + $.process_cancel(uiStrings.notification.loadingImage); e.stopPropagation(); e.preventDefault(); $('#workarea').removeAttr('style'); @@ -4314,6 +4315,7 @@ if (!ok) return; svgCanvas.clear(); if (f.files.length==1) { + $.process_cancel(uiStrings.notification.loadingImage); var reader = new FileReader(); reader.onloadend = function(e) { loadSvgString(e.target.result); @@ -4396,6 +4398,7 @@ updateRulers(cnvs, zoom); workarea.scroll(); } + $('#dialog_box').hide(); }; // Make [1,2,5] array