diff --git a/notebook/static/tree/js/notebooklist.js b/notebook/static/tree/js/notebooklist.js index 0cd12ea6d..e8d32057d 100644 --- a/notebook/static/tree/js/notebooklist.js +++ b/notebook/static/tree/js/notebooklist.js @@ -663,7 +663,12 @@ define([ return false; } }); - input.focus().select(); + input.focus(); + if (input.val().indexOf(".") > 0) { + input[0].setSelectionRange(0,input.val().indexOf(".")); + } else { + input.select(); + } } }); };