Quich fix for export error
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
<form method="post" id="printForm" name="printForm" action='<c:url value="export.htm"/>' style="height:100%;" target="${mindmap.title}">
|
||||
<input type="hidden" name="action" value="print" >
|
||||
<input type="hidden" name="mapId" value="${mindmap.id}" >
|
||||
<input type="hidden" name="mapSvg" value="">
|
||||
</form>
|
||||
|
||||
<div id="waitDialog" style="display:none">
|
||||
@@ -76,6 +77,7 @@
|
||||
var isTryMode = ${editorTryMode};
|
||||
|
||||
function printMap() {
|
||||
document.printForm.mapSvg.value = $("workspaceContainer").innerHTML;
|
||||
document.printForm.submit();
|
||||
}
|
||||
</script>
|
||||
|
@@ -7,6 +7,7 @@
|
||||
<form method="post" id="exportForm" name="exportForm" action="<c:url value="export.htm"/>" style="height:100%;">
|
||||
<input type="hidden" name="action" value="export"/>
|
||||
<input type="hidden" name="mapId" value="${mindmap.id}"/>
|
||||
<input type="hidden" name="mapSvg" value=""/>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -88,4 +89,6 @@
|
||||
|
||||
});
|
||||
|
||||
document.exportForm.mapSvg.value = $("workspaceContainer").innerHTML;
|
||||
|
||||
</script>
|
@@ -227,10 +227,10 @@
|
||||
<spring:message code="PUBLISH"/>
|
||||
</a>
|
||||
</c:if>
|
||||
<a href="export.htm?mapId=${mindmap.id}"
|
||||
<%--<a href="export.htm?mapId=${mindmap.id}"
|
||||
rel="moodalbox 600px 400px" title="<spring:message code="EXPORT_DETAILS"/>">
|
||||
<spring:message code="EXPORT"/>
|
||||
</a>
|
||||
</a>--%>
|
||||
<a href="javascript:printMap(${mindmap.id});">
|
||||
<spring:message code="PRINT"/>
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user