##// END OF EJS Templates
trigger dirty on CM change
MinRK -
Show More
@@ -97,6 +97,11 b' var IPython = (function (IPython) {'
97 $([IPython.events]).trigger('select.Cell', {'cell':that});
97 $([IPython.events]).trigger('select.Cell', {'cell':that});
98 }
98 }
99 });
99 });
100 if (this.code_mirror) {
101 this.code_mirror.on("change", function(cm, change) {
102 $([IPython.events]).trigger("set_dirty.Notebook", {value: true});
103 });
104 }
100 };
105 };
101
106
102 /**
107 /**
General Comments 0
You need to be logged in to leave comments. Login now