[editor] Still add a new snippet at execution in notebook mode
@@ -1569,6 +1569,8 @@ var EditorViewModel = (function() {
setTimeout(function () {
self.fetchResultData(rows, false);
}, 500);
+ } else if (! vm.editorMode() && ! vm.isPresentationMode() && notebook.snippets()[notebook.snippets().length - 1] == self) {
+ notebook.newSnippet();
}
};
