Whitespace

This commit is contained in:
PMKuipers 2023-05-19 16:45:25 +02:00
parent cc6101194f
commit 27cb13fbfc

View File

@ -49,7 +49,7 @@ let strings = load_strings({
const in_systemcontext = (contextid <= 1);
window.addEventListener('resize',fixLineWrappers);
window.addEventListener('resize',fixLineWrappers);
let app = new Vue({
el: '#root',
data: {
@ -100,7 +100,7 @@ let strings = load_strings({
// load studyplan from hash if applicable
const hash = location.hash.replace('#','');
const parts = hash.split("-");
if(!!parts && parts.length > 0){
for(let idx in app.studyplans){
if(app.studyplans[idx].id == parts[0]){
@ -121,7 +121,7 @@ let strings = load_strings({
}
}
app.usedcontexts = contexts;
}).fail(notification.exception);
}).fail(notification.exception);
},
computed: {
dropdown_title(){
@ -141,15 +141,15 @@ let strings = load_strings({
const params = new URLSearchParams(location.search);
params.set('categoryid', ctx.id);
window.location.search = params.toString();
},
closeStudyplan() {
app.activestudyplan = null;
app.associatedstudents = [];
app.studentstudyplan = [];
app.displayedstudyplan = null;
},
},
selectStudyplan(studyplan,studentid){
// fetch studyplan
app.loadingstudyplan = true;
@ -178,7 +178,7 @@ let strings = load_strings({
}
}
}
}).fail(notification.exception);
}).fail(notification.exception);
}).fail(function(error){
notification.exception(error);
@ -209,8 +209,7 @@ let strings = load_strings({
app.studentstudyplan = null;
app.displayedstudyplan = app.activestudyplan;
}
},
});
}