From 65d7b85f2002dc16dc0ec54e902b3aeac3bbe86e Mon Sep 17 00:00:00 2001 From: timwis Date: Sat, 7 May 2016 15:19:57 -0400 Subject: [PATCH] csv editor should mark file 'dirty' when col/row is created/removed --- app/views/file.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/file.js b/app/views/file.js index c5e2efb7e..ba82051d3 100644 --- a/app/views/file.js +++ b/app/views/file.js @@ -345,7 +345,11 @@ module.exports = Backbone.View.extend({ undo: true, afterChange: function(changes, source) { if (source !== 'loadData') self.makeDirty(); - } + }, + afterRemoveCol: this.makeDirty, + afterRemoveRow: this.makeDirty, + afterCreateCol: this.makeDirty, + afterCreateRow: this.makeDirty }) this.editor.getValue = function() {