diff --git a/software/jupyter/buildout.hash.cfg b/software/jupyter/buildout.hash.cfg index f4c9dc4fe3582aa14d1404ba22d58aeb5065e373..3470f14257a3f84f9292bad835a0db188cb90450 100644 --- a/software/jupyter/buildout.hash.cfg +++ b/software/jupyter/buildout.hash.cfg @@ -36,4 +36,4 @@ md5sum = 33547be93a67530165e079dc3ecfdac3 [custom-js] filename = custom.js -md5sum = 0bf9e2eb1718b14307265fe05a167018 +md5sum = df0149d5b6b58a17270715957db35f82 diff --git a/software/jupyter/custom.js b/software/jupyter/custom.js index 53b588cdc50a201f94910c3cd1907c53be5a6f6c..20da10f38af7328421d44ff70dc12d171283206a 100644 --- a/software/jupyter/custom.js +++ b/software/jupyter/custom.js @@ -81,8 +81,8 @@ * @static */ -$([jupyter.events]).on('notebook_loaded.Notebook', function(){ - var kernelname = jupyter.notebook.kernel_selector.current_selection; +$([Jupyter.events]).on('notebook_loaded.Notebook', function(){ + var kernelname = Jupyter.notebook.kernel_selector.current_selection; var display_text="<div class='output_subarea output_text output_result'>\ <pre>Follow these steps to customize your notebook with ERP5 kernel :-</br>\ 1. Make sure you have 'erp5_data_notebook' business template installed in your ERP5</br>\