diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 0c4672c5..09ae72dd 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -4679,6 +4679,10 @@ 'url': url, 'dataType': 'text', cache: !!cache, + beforeSend:function(){ + $('#dialog_content').html('

Loading image, please wait

'); + $('#dialog_box').show(); + }, success: function(str) { loadSvgString(str, cb); }, @@ -4688,7 +4692,10 @@ } else { $.alert(uiStrings.notification.URLloadFail + ': \n'+err+'', cb); } - } + }, + complete:function(){ + $('#dialog_box').hide(); + } }); }); };