Skip to content

Commit

Permalink
🤖 Automatically update generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
boryanagoncharenko authored and actions-user committed Dec 10, 2024
1 parent c1c9296 commit ac62a54
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion static/js/appbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -121128,10 +121128,17 @@ def note_with_error(value, err):
change_to_submitted(id2);
});
}
function unsubmit_program(id2) {
function change_to_unsubmitted() {
$("#unsubmit-program-button").hide();
$("#submitted-program-title").hide();
$("#submitted-program-details").hide();
}
async function unsubmit_program(id2, prompt) {
await modal.confirmP(prompt);
tryCatchPopup(async () => {
const response = await postJson("/programs/unsubmit", { id: id2 });
modal.notifySuccess(response.message);
change_to_unsubmitted();
});
}
async function set_explore_favourite(id2, favourite) {
Expand Down
Loading

0 comments on commit ac62a54

Please sign in to comment.