fix(notebook): Allow copy operation on modified, read-only

notebooks
Should close #2541
pull/2854/head
madhu 9 years ago
parent 11ba6be432
commit a5e64c3f77

@ -2910,7 +2910,7 @@ define([
var w = window.open('', IPython._target);
var parent = utils.url_path_split(this.notebook_path)[0];
var p;
if (this.dirty) {
if (this.dirty && this.writable) {
p = this.save_notebook(true);
} else {
p = Promise.resolve();

Loading…
Cancel
Save