Show More
@@ -48,7 +48,8 var IPython = (function (IPython) { | |||||
48 | this.element.find('#copy_notebook').click(function () { |
|
48 | this.element.find('#copy_notebook').click(function () { | |
49 | var notebook_id = IPython.notebook.get_notebook_id(); |
|
49 | var notebook_id = IPython.notebook.get_notebook_id(); | |
50 | var url = $('body').data('baseProjectUrl') + notebook_id + '/copy'; |
|
50 | var url = $('body').data('baseProjectUrl') + notebook_id + '/copy'; | |
51 |
window.open(url,'_ |
|
51 | window.open(url,'_blank'); | |
|
52 | return false; | |||
52 | }); |
|
53 | }); | |
53 | this.element.find('#save_notebook').click(function () { |
|
54 | this.element.find('#save_notebook').click(function () { | |
54 | IPython.notebook.save_notebook(); |
|
55 | IPython.notebook.save_notebook(); |
General Comments 0
You need to be logged in to leave comments.
Login now