##// END OF EJS Templates
Merge pull request #8006 from minrk/save-copy...
Thomas Kluyver -
r20668:02c3714e merge
parent child Browse files
Show More
@@ -104,6 +104,9 b' define(['
104 window.open(utils.url_join_encode(that.base_url, 'tree', parent), IPython._target);
104 window.open(utils.url_join_encode(that.base_url, 'tree', parent), IPython._target);
105 });
105 });
106 this.element.find('#copy_notebook').click(function () {
106 this.element.find('#copy_notebook').click(function () {
107 if (that.notebook.dirty) {
108 that.notebook.save_notebook({async : false});
109 }
107 that.notebook.copy_notebook();
110 that.notebook.copy_notebook();
108 return false;
111 return false;
109 });
112 });
General Comments 0
You need to be logged in to leave comments. Login now