Fixed issue 602
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1638 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -3781,11 +3781,12 @@
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
Editor.loadFromURL = function(url) {
|
Editor.loadFromURL = function(url, cache) {
|
||||||
Editor.ready(function() {
|
Editor.ready(function() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
'url': url,
|
'url': url,
|
||||||
'dataType': 'text',
|
'dataType': 'text',
|
||||||
|
cache: !!cache,
|
||||||
success: svgCanvas.setSvgString,
|
success: svgCanvas.setSvgString,
|
||||||
error: function(xhr, stat, err) {
|
error: function(xhr, stat, err) {
|
||||||
if(xhr.responseText) {
|
if(xhr.responseText) {
|
||||||
|
|||||||
Reference in New Issue
Block a user