Fixed issue 602
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1638 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
3a032f7bfe
commit
e75474ac00
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue