Skip to content
Snippets Groups Projects
Commit bc9cc89e authored by hjank's avatar hjank
Browse files
parent 18f567c8
No related branches found
No related tags found
No related merge requests found
......@@ -159,6 +159,13 @@ function deleteScenarios() {
global_arrayShowSzenarioDeletion = [];
$("#choiceDeletionScenarios > select").empty();
$("#choiceDeletionScenarios > select").select2("val", "");
// if no scenarios left, deactivate learning unit drop down menu in navbar
if(authorSystemContent.getScenarios().length == 0)
$("#navbarLearningUnit").css({
"pointer-events": "none",
"color": "#aaa"}
);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment