Skip to content

Commit

Permalink
Merge pull request #188 from DigiKlausur/disable_notebook_name_change
Browse files Browse the repository at this point in the history
Disable notebook name change
  • Loading branch information
tmetzl authored Feb 12, 2025
2 parents 531564f + 496fffc commit 7b62d2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/notebook-extensions/src/student-exam-extension.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import $ from "jquery";
import Jupyter from "base/js/namespace";
import events from "base/js/events";
import { initialize_cell_extension } from "@e2xgrader/cell-extension";
Expand All @@ -14,6 +15,8 @@ function initialize() {
new AssignmentViewToolbar().activate();
disable_shortcuts();
username.add_username();
$("#notebook_name").off("click");
$("#rename_notebook").hide();
}

export function load_ipython_extension() {
Expand Down

0 comments on commit 7b62d2f

Please sign in to comment.