Fixed issue 602

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1638 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2010-07-19 15:38:23 +00:00
parent 3a032f7bfe
commit e75474ac00
1 changed files with 2 additions and 1 deletions

View File

@ -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) {