##// END OF EJS Templates
Fix several small bugs in the notebook trust framework...
Jason Grout -
Show More
@@ -1855,9 +1855,9 b' define(['
1855 }
1855 }
1856 }
1856 }
1857 }
1857 }
1858 if (trusted != this.trusted) {
1858 if (trusted !== this.trusted) {
1859 this.trusted = trusted;
1859 this.trusted = trusted;
1860 this.events.trigger("trust_changed.Notebook", trusted);
1860 this.events.trigger("trust_changed.Notebook", {value: trusted});
1861 }
1861 }
1862 if (content.worksheets.length > 1) {
1862 if (content.worksheets.length > 1) {
1863 dialog.modal({
1863 dialog.modal({
@@ -2070,7 +2070,7 b' define(['
2070 cell.output_area.trusted = true;
2070 cell.output_area.trusted = true;
2071 }
2071 }
2072 }
2072 }
2073 this.events.on('notebook_saved.Notebook', function () {
2073 nb.events.on('notebook_saved.Notebook', function () {
2074 window.location.reload();
2074 window.location.reload();
2075 });
2075 });
2076 nb.save_notebook();
2076 nb.save_notebook();
General Comments 0
You need to be logged in to leave comments. Login now