Skip to content
Snippets Groups Projects
Commit 425f01f7 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,17 @@ function deleteScenarios() { ...@@ -159,6 +159,17 @@ function deleteScenarios() {
global_arrayShowSzenarioDeletion = []; global_arrayShowSzenarioDeletion = [];
$("#choiceDeletionScenarios > select").empty(); $("#choiceDeletionScenarios > select").empty();
$("#choiceDeletionScenarios > select").select2("val", ""); $("#choiceDeletionScenarios > select").select2("val", "");
// if no scenarios left, deactivate ...
if(authorSystemContent.getScenarios().length == 0) {
// 1. learning unit drop down menu in navbar
$("#navbarLearningUnit").css({
"pointer-events": "none",
"color": "#aaa"}
);
// 2. tab bar
deactivateAllTabs();
}
} }
/** /**
......
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