Browse Source

HUE-6799 [editor] Use the last cursor position when opening from the query history

Johan Ahlen 8 years ago
parent
commit
5322493527

+ 1 - 0
desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

@@ -934,6 +934,7 @@ var EditorViewModel = (function() {
         status: self.status,
         status: self.status,
         statementType: self.statementType,
         statementType: self.statementType,
         statement: self.statement,
         statement: self.statement,
+        aceCursorPosition: self.aceCursorPosition,
         statementPath: self.statementPath,
         statementPath: self.statementPath,
         associatedDocumentUuid: self.associatedDocumentUuid,
         associatedDocumentUuid: self.associatedDocumentUuid,
         properties: self.properties,
         properties: self.properties,