From 9b137cd0dbcfaf2a0806959f2850ec951b09c98f Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 12 Jan 2021 17:23:06 +0100 Subject: [PATCH] Bug Fixed, Anchor not flagging page updated --- Projects/Superalgos/UI/Spaces/Docs-Space/DocumentPage.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/DocumentPage.js b/Projects/Superalgos/UI/Spaces/Docs-Space/DocumentPage.js index cd4bba65b..339adaab4 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/DocumentPage.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/DocumentPage.js @@ -1918,6 +1918,7 @@ function newSuperalgosDocsDocumentPage() { Deleting paragarphs is only possible in the default language. */ if (UI.projects.superalgos.spaces.docsSpace.language === UI.projects.superalgos.globals.docs.DEFAULT_LANGUAGE) { + UI.projects.superalgos.spaces.docsSpace.documentPage.docsSchemaDocument.updated = true thisObject.docsSchemaDocument.paragraphs.splice(selectededitableParagraphIndex, 1) if (thisObject.docsSchemaDocument.paragraphs.length === 0) { let newParagraph = { @@ -1944,6 +1945,7 @@ function newSuperalgosDocsDocumentPage() { text: paragraphs[i] } thisObject.docsSchemaDocument.paragraphs.splice(selectededitableParagraphIndex + i, 0, newParagraph) + UI.projects.superalgos.spaces.docsSpace.documentPage.docsSchemaDocument.updated = true } } }