File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -291,11 +291,11 @@ openSelectedMapBtn.onclick = async function () {
291291printMapToConsoleBtn . onclick = async function ( ) {
292292 // print mindmap data
293293 console . log ( jm . get_data ( ) ) ;
294- // print currently active library
294+ /*/ / print currently active library
295295 console.log(httpClient.currentLibrary);
296296 // Get preview string for "Tokede_2011" current library (has to be demo to deliver result)
297297 let preview = await httpClient.getPreviewString("Tokede_2011");
298- console . log ( preview ) ;
298+ console.log(preview);*/
299299}
300300
301301// undo - discard the last operation (display the previous state)
@@ -395,6 +395,8 @@ addBibEntryAsChildBtn.onclick = async function () {
395395 preview : bibProperties . preview
396396 } ) ;
397397 } ) ;
398+ // save map state for undo/redo
399+ jm . saveState ( ) ;
398400}
399401
400402addBibEntryAsSiblingBtn . onclick = async function ( ) {
@@ -422,6 +424,8 @@ addBibEntryAsSiblingBtn.onclick = async function () {
422424 preview : bibProperties . preview
423425 } ) ;
424426 } ) ;
427+ // save map state for undo/redo
428+ jm . saveState ( ) ;
425429}
426430
427431// icon-dropdown menu button handlers
You can’t perform that action at this time.
0 commit comments