Removed old line wrapper hack
This commit is contained in:
parent
6392a0686f
commit
e3218a9ef6
|
@ -85,10 +85,6 @@ export function init(contextid,categoryid) {
|
|||
usedcontexts: [],
|
||||
},
|
||||
created() {
|
||||
this.$root.$on('redrawLines',()=>{
|
||||
// Ugly hack, but currently the only way to properly fix scrollablility in the lines
|
||||
fixLineWrappers();
|
||||
});
|
||||
this.$root.$on('studyplanRemoved',(studyplan)=>{
|
||||
|
||||
if(app.activestudyplan == studyplan){
|
||||
|
@ -110,7 +106,6 @@ export function init(contextid,categoryid) {
|
|||
});
|
||||
},
|
||||
mounted() {
|
||||
fixLineWrappers();
|
||||
call([{
|
||||
methodname: 'local_treestudyplan_list_studyplans',
|
||||
args: { context_id: contextid}
|
||||
|
|
Loading…
Reference in New Issue
Block a user