From e3218a9ef6c9bacf8346a326d493e1fb76a61b07 Mon Sep 17 00:00:00 2001 From: PMKuipers Date: Tue, 18 Jul 2023 13:21:44 +0200 Subject: [PATCH] Removed old line wrapper hack --- amd/src/page-edit-plan.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/amd/src/page-edit-plan.js b/amd/src/page-edit-plan.js index ab81a38..b695d58 100644 --- a/amd/src/page-edit-plan.js +++ b/amd/src/page-edit-plan.js @@ -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}