From 6a8a66fa8b2969df5b43938eece7ca20e70b5edb Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Tue, 13 Dec 2011 18:02:17 -0800 Subject: [PATCH] Correctly set read_only meta name for use in javascript. Note that this has a different meaning than in the Python code: not whether the read-only flag was specified upon launch, but whether the notebook is in read-only mode and input should be disabled. --- IPython/frontend/html/notebook/templates/notebook.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/IPython/frontend/html/notebook/templates/notebook.html b/IPython/frontend/html/notebook/templates/notebook.html index 5d313af1a..ab160a1db 100644 --- a/IPython/frontend/html/notebook/templates/notebook.html +++ b/IPython/frontend/html/notebook/templates/notebook.html @@ -29,8 +29,10 @@ - - + + {% comment In the notebook, the read-only flag is used to determine %} + {% comment whether to hide the side panels and switch off input %} +