diff --git a/indigo_app/static/javascript/indigo/views/document_editor.js b/indigo_app/static/javascript/indigo/views/document_editor.js index 99bca4d88..471499554 100644 --- a/indigo_app/static/javascript/indigo/views/document_editor.js +++ b/indigo_app/static/javascript/indigo/views/document_editor.js @@ -281,7 +281,7 @@ if (!data.element_id && this.xmlElement.tagName !== "akomaNtoso") { // for elements without ids (preamble, preface, components) - data.element_id = this.xmlElementxmlElement.tagName; + data.element_id = this.xmlElement.tagName; } $.ajax({