From e75474ac009cb5ca062302307fb0efd4ac8a8ffc Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Mon, 19 Jul 2010 15:38:23 +0000 Subject: [PATCH] Fixed issue 602 git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1638 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index cde4c085..fd26988c 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -3781,11 +3781,12 @@ }); }; - Editor.loadFromURL = function(url) { + Editor.loadFromURL = function(url, cache) { Editor.ready(function() { $.ajax({ 'url': url, 'dataType': 'text', + cache: !!cache, success: svgCanvas.setSvgString, error: function(xhr, stat, err) { if(xhr.responseText) {