diff --git a/IPython/html/static/notebook/js/savewidget.js b/IPython/html/static/notebook/js/savewidget.js index 8e2a16c..6fee780 100644 --- a/IPython/html/static/notebook/js/savewidget.js +++ b/IPython/html/static/notebook/js/savewidget.js @@ -52,7 +52,7 @@ var IPython = (function (IPython) { $([IPython.events]).on('checkpoints_listed.Notebook', function (event, data) { that.set_last_checkpoint(data[0]); }); - + $([IPython.events]).on('checkpoint_created.Notebook', function (event, data) { that.set_last_checkpoint(data); }); @@ -104,7 +104,7 @@ var IPython = (function (IPython) { return false; } }); - that.find('input[type="text"]').focus(); + that.find('input[type="text"]').focus().select(); } }); }