Remove paramurl parameter as it encouraged improper encoding of a URL within the SVG Edit URL
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2815 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
d84a4465d2
commit
856d1971c2
|
@ -487,7 +487,7 @@ TODOS
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
editor.setConfig(urldata, {overwrite: false}); // Note: source, url, and paramurl (as with storagePrompt later) are not set on config but are used below
|
editor.setConfig(urldata, {overwrite: false}); // Note: source and url (as with storagePrompt later) are not set on config but are used below
|
||||||
|
|
||||||
setupCurConfig();
|
setupCurConfig();
|
||||||
|
|
||||||
|
@ -507,11 +507,6 @@ TODOS
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (qstr.indexOf('paramurl=') !== -1) {
|
|
||||||
// Get parameter URL (use full length of remaining location.href)
|
|
||||||
editor.loadFromURL(qstr.substr(9));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (urldata.url) {
|
if (urldata.url) {
|
||||||
editor.loadFromURL(urldata.url);
|
editor.loadFromURL(urldata.url);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue