# HG changeset patch # User Goffi # Date 1443285545 -7200 # Node ID 51dec65ec62c9c40e5629f77a981fd4ec723f490 # Parent 94cd4d242dc52e90ee2d115c7f248781ac20a051 core (xmlui): fixed submit_id returning None when its value is '' diff -r 94cd4d242dc5 -r 51dec65ec62c src/tools/xml_tools.py --- a/src/tools/xml_tools.py Sat Sep 26 15:00:27 2015 +0200 +++ b/src/tools/xml_tools.py Sat Sep 26 18:39:05 2015 +0200 @@ -1148,7 +1148,7 @@ 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