From e6735e418ff16f3a1ba4f7af7db3cc3fbec21bf5 Mon Sep 17 00:00:00 2001 From: scmmishra Date: Wed, 27 Feb 2019 12:46:23 +0530 Subject: [PATCH] fix: Content navigation --- erpnext/public/js/education/lms/pages/ContentPage.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/erpnext/public/js/education/lms/pages/ContentPage.vue b/erpnext/public/js/education/lms/pages/ContentPage.vue index 7a4ce31acf7..37f1b45e7f7 100644 --- a/erpnext/public/js/education/lms/pages/ContentPage.vue +++ b/erpnext/public/js/education/lms/pages/ContentPage.vue @@ -12,7 +12,7 @@ import Video from "../components/Video.vue" import ContentNavigation from "../components/ContentNavigation.vue" export default { - props:['program_name', 'course', 'type', 'content'], + props:['program_name', 'course_name', 'topic', 'type', 'content'], name: "ContentPage", data() { return{ @@ -41,12 +41,11 @@ export default { }, methods: { getNextContent(){ - window.t = this return lms.call("get_next_content", { - content: this.content, - content_type: this.type, - course: this.course + current_content: this.content, + current_content_type: this.type, + topic: this.topic, } ); }