##// END OF EJS Templates
Fix several small bugs in the notebook trust framework...
Fix several small bugs in the notebook trust framework 1. The trust dialog is not called with the notebook context, so we have to use the closure to bind to a notebook event. 2. Replace != with !== 3. The trust_changed.Notebook event default handler expects the trust value to be value key inside an object. In fact, the event handler is redundant with the code--both seem to set the trust value of the current notebook.

File last commit:

r16906:52287ff6
r17833:76b343bd
Show More
v4-test.ipynb
155 lines | 17.0 KiB | text/plain | TextLexer

Invalid Notebook!

{'cell_type': 'heading', 'level': 1, 'metadata': {}, 'source': 'nbconvert latex test'} is not valid under any of the given schemas Failed validating 'oneOf' in heading_cell['properties']['cells']['items']: On instance['cells'][0]: {'cell_type': 'heading', 'level': 1, 'metadata': {}, 'source': 'nbconvert latex test'}