Merge pull request #2128 from Carreau/fixes-2120

open notebook copy in different tabs
This commit is contained in:
Bussonnier Matthias 2012-07-12 11:31:37 -07:00
commit f38cf983c5

View File

@ -48,7 +48,8 @@ var IPython = (function (IPython) {
this.element.find('#copy_notebook').click(function () {
var notebook_id = IPython.notebook.get_notebook_id();
var url = $('body').data('baseProjectUrl') + notebook_id + '/copy';
window.open(url,'_newtab');
window.open(url,'_blank');
return false;
});
this.element.find('#save_notebook').click(function () {
IPython.notebook.save_notebook();