From 14cf79e0000bab18f8be5d6f3898cc9a8c0ec972 Mon Sep 17 00:00:00 2001 From: Patrick Sun Date: Sun, 18 Oct 2020 17:45:22 +1100 Subject: [PATCH] make sure summary is a template for workspace. --- front-end/js/common.js | 4 +++- front-end/js/summary.js | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/front-end/js/common.js b/front-end/js/common.js index c2924af..37564b9 100644 --- a/front-end/js/common.js +++ b/front-end/js/common.js @@ -92,4 +92,6 @@ function toggle_sidemenu(){ function initTopMenu(layout, view){ if ($$(layout) && $$(view)) webix.ui(top_toolbar, $$(layout), $$(view)); -} \ No newline at end of file +} + + diff --git a/front-end/js/summary.js b/front-end/js/summary.js index ae851a1..03570dd 100644 --- a/front-end/js/summary.js +++ b/front-end/js/summary.js @@ -20,8 +20,8 @@ var layout= { } ] }, - { "view": "template", "template": "Content", "role": "placeholder" }, - { "view": "template", "template": "Footer ", "role": "placeholder", "height": 50 } + { "view": "template", id:"worksapce", "template": "Content", "role": "placeholder" }, + { "view": "template", id:"footer", "template": "Footer ", "role": "placeholder", "height": 50 } ] }