Show More
@@ -1945,7 +1945,7 b' var IPython = (function (IPython) {' | |||
|
1945 | 1945 | * @param {String} checkpoint ID |
|
1946 | 1946 | */ |
|
1947 | 1947 | Notebook.prototype.restore_checkpoint = function (checkpoint) { |
|
1948 |
$([IPython.events]).trigger(' |
|
|
1948 | $([IPython.events]).trigger('checkpoint_restoring.Notebook', checkpoint); | |
|
1949 | 1949 | var url = this.baseProjectUrl() + 'notebooks/' + this.notebook_id + '/checkpoints/' + checkpoint; |
|
1950 | 1950 | $.post(url).done( |
|
1951 | 1951 | $.proxy(this.restore_checkpoint_success, this) |
@@ -1986,7 +1986,7 b' var IPython = (function (IPython) {' | |||
|
1986 | 1986 | * @param {String} checkpoint ID |
|
1987 | 1987 | */ |
|
1988 | 1988 | Notebook.prototype.delete_checkpoint = function (checkpoint) { |
|
1989 |
$([IPython.events]).trigger(' |
|
|
1989 | $([IPython.events]).trigger('checkpoint_deleting.Notebook', checkpoint); | |
|
1990 | 1990 | var url = this.baseProjectUrl() + 'notebooks/' + this.notebook_id + '/checkpoints/' + checkpoint; |
|
1991 | 1991 | $.ajax(url, { |
|
1992 | 1992 | type: 'DELETE', |
General Comments 0
You need to be logged in to leave comments.
Login now