workflows: move "post formdata" checkbox to advanced tab (#43614) #1189
|
@ -258,7 +258,12 @@ class WebserviceCallStatusItem(WorkflowStatusItem):
|
|||
form.add(
|
||||
CheckboxWidget,
|
||||
'%spost' % prefix,
|
||||
title=_('Post formdata'),
|
||||
title=_('Post complete card/form data'),
|
||||
hint=_(
|
||||
'Warning: this option sends the full content of the card/form, '
|
||||
'with additional POST data in an additional "extra" key. It is often '
|
||||
'not necessary.'
|
||||
),
|
||||
value=self.post,
|
||||
attrs={
|
||||
'data-dynamic-display-child-of': '%smethod' % prefix,
|
||||
|
@ -271,6 +276,7 @@ class WebserviceCallStatusItem(WorkflowStatusItem):
|
|||
]
|
||||
),
|
||||
},
|
||||
advanced=True,
|
||||
)
|
||||
if 'post_data' in parameters:
|
||||
form.add(
|
||||
|
|
Loading…
Reference in New Issue