From 78232065281e3b50dfe0ae0909c707c0998aa4a2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 26 Nov 2019 12:13:57 +0000 Subject: [PATCH] Don't include calendar options on questions --- webinterface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webinterface.py b/webinterface.py index dfde559a..e755b4af 100644 --- a/webinterface.py +++ b/webinterface.py @@ -989,7 +989,7 @@ def htmlNewPost(translate: {},baseDir: str, \ scopeDescription=translate['Shared Item'] placeholderSubject=translate['Name of the shared item']+'...' placeholderMessage=translate['Description of the item being shared']+'...' - endpoint='newshare' + endpoint='newshare' extraFields='
' extraFields+=' ' extraFields+=' ' @@ -998,7 +998,7 @@ def htmlNewPost(translate: {},baseDir: str, \ extraFields+='' dateAndLocation='' - if endpoint!='newshare' and endpoint!='newreport': + if endpoint!='newshare' and endpoint!='newreport' and endpoint!='newquestion': dateAndLocation='
' dateAndLocation+='

' dateAndLocation+=''