Skip to content

Commit

Permalink
Merge pull request #2854 from Madhu94/copy-dirty-readonly-notebook
Browse files Browse the repository at this point in the history
Allow copy operation on modified, read-only notebook
  • Loading branch information
rgbkrk authored Sep 25, 2017
2 parents aa58dcb + a5e64c3 commit 63d4415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebook/static/notebook/js/notebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 63d4415

Please sign in to comment.