mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Merge pull request #4161 from kevinburke/select
Select name when renaming a notebook
This commit is contained in:
commit
e992e6b7e2
@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user