Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[notebook] read-only: disable name field

  • Loading branch information...
commit eff6c07af4893e3cc00229dfc86c15ec8ef3f86d 1 parent 96e8539
Matthias Bussonnier authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 IPython/frontend/html/notebook/static/js/notebookmain.js
4 IPython/frontend/html/notebook/static/js/notebookmain.js
View
@@ -106,6 +106,10 @@ $(document).ready(function () {
$('div#config_section').addClass('hidden');
$('div#kernel_section').addClass('hidden');
$('span#login_widget').removeClass('hidden');
+
+ // set the notebook name field as not modifiable
+ $('#notebook_name').attr('disabled','disabled')
+
// left panel starts collapsed, but the collapse must happen after
// elements start drawing. Don't draw contents of the panel until
// after they are collapsed
Please sign in to comment.
Something went wrong with that request. Please try again.