mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-09 00:43:23 +01:00
Remove svgXML on get action.
This commit is contained in:
parent
b855da47d0
commit
00829bfcc4
@ -23,7 +23,8 @@
|
|||||||
iframeForm.setAttribute('method', context.method);
|
iframeForm.setAttribute('method', context.method);
|
||||||
iframeForm.setAttribute('action', context.action);
|
iframeForm.setAttribute('action', context.action);
|
||||||
|
|
||||||
$('svgXml').setAttribute('value', window.document.getElementById('workspaceContainer').innerHTML);
|
var svgXml = context.method == "POST" ? window.document.getElementById('workspaceContainer').innerHTML : "";
|
||||||
|
$('svgXml').setAttribute('value', svgXml);
|
||||||
$('download').setAttribute('value', context.formatType);
|
$('download').setAttribute('value', context.formatType);
|
||||||
iframeForm.submit();
|
iframeForm.submit();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user