tools (xmlui): to click a button in a "param" form will automatically submit the parameters of the same category
This commit is contained in:
parent
c3d859a48b
commit
2a74cd0c06
1 changed files with 4 additions and 0 deletions
|
|
@ -236,6 +236,10 @@ def paramsXML2XMLUI(xml):
|
|||
|
||||
if callback_id:
|
||||
widget_kwargs['callback_id'] = callback_id
|
||||
others = ["%s%s%s" % (category_name, SAT_PARAM_SEPARATOR, other.getAttribute('name'))
|
||||
for other in category.getElementsByTagName('param')
|
||||
if other.getAttribute('type') != 'button']
|
||||
widget_kwargs['fields_back'] = others
|
||||
|
||||
widget_kwargs['name'] = "%s%s%s" % (category_name, SAT_PARAM_SEPARATOR, param_name)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue