core (xmlui): fixed submit_id returning None when its value is ''
This commit is contained in:
parent
ea0eb492d5
commit
c0bc337c40
1 changed files with 1 additions and 1 deletions
|
|
@ -1148,7 +1148,7 @@ class XMLUI(object):
|
|||
top_element.removeAttribute("submit")
|
||||
except NotFoundErr:
|
||||
pass
|
||||
elif value: # submit_id can be the empty string to bypass form restriction
|
||||
else: # submit_id can be the empty string to bypass form restriction
|
||||
top_element.setAttribute("submit", value)
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Reference in a new issue