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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user