mirror of https://gitlab.com/bashrc2/epicyon
Get checkbox state
parent
ce2d5d5d69
commit
dbd21902fa
|
@ -7661,8 +7661,11 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.POSTbusy = False
|
||||
return
|
||||
if '&submitOnCalendar=' in optionsConfirmParams:
|
||||
if fields.get('onCalendar'):
|
||||
if fields['onCalendar'] == 'on':
|
||||
onCalendar = optionsConfirmParams.split('onCalendar=')[1]
|
||||
if '&' in onCalendar:
|
||||
onCalendar = onCalendar.split('&')[0]
|
||||
print('onCalendar: ' + onCalendar)
|
||||
if onCalendar == 'on':
|
||||
addPersonToCalendar(self.server.baseDir,
|
||||
chooserNickname,
|
||||
self.server.domain,
|
||||
|
|
Loading…
Reference in New Issue