bugfix: use baseProjectUrl when re-writing URL in address bar

This commit is contained in:
Andrew Straw 2012-01-27 00:01:03 +01:00
parent 81a636dabf
commit c706d6ed99

View File

@ -124,7 +124,7 @@ var IPython = (function (IPython) {
SaveWidget.prototype.update_url = function () {
var notebook_id = this.get_notebook_id();
if (notebook_id !== '') {
var new_url = '/'+notebook_id;
var new_url = $('body').data('baseProjectUrl') + notebook_id;
window.history.replaceState({}, '', new_url);
};
};