Two more loading messages for Import and Open of images.

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2513 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Adrian Jones 2013-05-29 01:39:37 +00:00
parent 61295b83e6
commit 5b641cb5c0
1 changed files with 3 additions and 0 deletions

View File

@ -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