Show More
@@ -104,6 +104,9 b' define([' | |||
|
104 | 104 | window.open(utils.url_join_encode(that.base_url, 'tree', parent), IPython._target); |
|
105 | 105 | }); |
|
106 | 106 | this.element.find('#copy_notebook').click(function () { |
|
107 | if (that.notebook.dirty) { | |
|
108 | that.notebook.save_notebook({async : false}); | |
|
109 | } | |
|
107 | 110 | that.notebook.copy_notebook(); |
|
108 | 111 | return false; |
|
109 | 112 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now