diff --git a/IPython/html/static/services/sessions/js/session.js b/IPython/html/static/services/sessions/js/session.js index f0e9f37c3..0a2f5878d 100644 --- a/IPython/html/static/services/sessions/js/session.js +++ b/IPython/html/static/services/sessions/js/session.js @@ -64,7 +64,7 @@ var IPython = (function (IPython) { data: JSON.stringify(model), dataType : "json", }; - var url = utils.url_path_join(this._baseProjectUrl, 'api/sessions', this.session_id); + var url = utils.url_path_join(this._baseProjectUrl, 'api/sessions', this.id); $.ajax(url, settings); }; @@ -75,7 +75,7 @@ var IPython = (function (IPython) { type : "DELETE", dataType : "json", }; - var url = utils.url_path_join(this._baseProjectUrl, 'api/sessions', this.session_id); + var url = utils.url_path_join(this._baseProjectUrl, 'api/sessions', this.id); $.ajax(url, settings); };