Simplified the loading image from URL message to make use of existing dialog box types and text strings
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2512 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -4680,9 +4680,8 @@
|
||||
'dataType': 'text',
|
||||
cache: !!cache,
|
||||
beforeSend:function(){
|
||||
$('#dialog_content').html('<p>Loading image, please wait</p>');
|
||||
$('#dialog_box').show();
|
||||
},
|
||||
$.process_cancel(uiStrings.notification.loadingImage);
|
||||
},
|
||||
success: function(str) {
|
||||
loadSvgString(str, cb);
|
||||
},
|
||||
@@ -4693,9 +4692,9 @@
|
||||
$.alert(uiStrings.notification.URLloadFail + ': \n'+err+'', cb);
|
||||
}
|
||||
},
|
||||
complete:function(){
|
||||
$('#dialog_box').hide();
|
||||
}
|
||||
complete:function(){
|
||||
$('#dialog_box').hide();
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user