Removed old line wrapper hack
This commit is contained in:
parent
6392a0686f
commit
e3218a9ef6
1 changed files with 0 additions and 5 deletions
|
@ -85,10 +85,6 @@ export function init(contextid,categoryid) {
|
||||||
usedcontexts: [],
|
usedcontexts: [],
|
||||||
},
|
},
|
||||||
created() {
|
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)=>{
|
this.$root.$on('studyplanRemoved',(studyplan)=>{
|
||||||
|
|
||||||
if(app.activestudyplan == studyplan){
|
if(app.activestudyplan == studyplan){
|
||||||
|
@ -110,7 +106,6 @@ export function init(contextid,categoryid) {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
fixLineWrappers();
|
|
||||||
call([{
|
call([{
|
||||||
methodname: 'local_treestudyplan_list_studyplans',
|
methodname: 'local_treestudyplan_list_studyplans',
|
||||||
args: { context_id: contextid}
|
args: { context_id: contextid}
|
||||||
|
|
Loading…
Reference in a new issue