Show More
@@ -60,7 +60,6 b' $(document).ready(function () {' | |||||
60 | IPython.layout_manager.do_resize(); |
|
60 | IPython.layout_manager.do_resize(); | |
61 | $([IPython.events]).on('notebook_loaded.Notebook', function () { |
|
61 | $([IPython.events]).on('notebook_loaded.Notebook', function () { | |
62 | IPython.layout_manager.do_resize(); |
|
62 | IPython.layout_manager.do_resize(); | |
63 | IPython.save_widget.update_url(); |
|
|||
64 | }) |
|
63 | }) | |
65 | IPython.notebook.load_notebook($('body').data('notebookId')); |
|
64 | IPython.notebook.load_notebook($('body').data('notebookId')); | |
66 |
|
65 |
@@ -120,15 +120,6 b' var IPython = (function (IPython) {' | |||||
120 | }; |
|
120 | }; | |
121 |
|
121 | |||
122 |
|
122 | |||
123 | SaveWidget.prototype.update_url = function () { |
|
|||
124 | var notebook_id = IPython.notebook.get_notebook_id(); |
|
|||
125 | if (notebook_id !== null) { |
|
|||
126 | var new_url = $('body').data('baseProjectUrl') + notebook_id; |
|
|||
127 | window.history.replaceState({}, '', new_url); |
|
|||
128 | }; |
|
|||
129 | }; |
|
|||
130 |
|
||||
131 |
|
||||
132 | SaveWidget.prototype.set_save_status = function (msg) { |
|
123 | SaveWidget.prototype.set_save_status = function (msg) { | |
133 | this.element.find('span#save_status').html(msg); |
|
124 | this.element.find('span#save_status').html(msg); | |
134 | } |
|
125 | } |
General Comments 0
You need to be logged in to leave comments.
Login now