mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
fixing print
This commit is contained in:
parent
bb156c4b55
commit
d2b8c3fd7c
@ -135,8 +135,12 @@ public class ExportController extends BaseMultiActionController {
|
|||||||
int mindmapId = Integer.parseInt(mapIdStr);
|
int mindmapId = Integer.parseInt(mapIdStr);
|
||||||
final MindmapService service = getMindmapService();
|
final MindmapService service = getMindmapService();
|
||||||
final MindMap mindMap = service.getMindmapById(mindmapId);
|
final MindMap mindMap = service.getMindmapById(mindmapId);
|
||||||
|
final String mapSvg = request.getParameter(MAP_SVG_PARAMETER);
|
||||||
|
|
||||||
return new ModelAndView("mindmapPrint", "mindmap", mindMap);
|
|
||||||
|
ModelAndView view = new ModelAndView("mindmapPrint", "mindmap", mindMap);
|
||||||
|
view.addObject(MAP_SVG_PARAMETER, mapSvg);
|
||||||
|
return view;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user