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-75d572ba1dddmaster
parent
61295b83e6
commit
5b641cb5c0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue