core (XMLUI): restorer submit_id:
- submit_id was missing due to a previous change in commit a2e4b976e707
- XMLUI.submit_id can now be None (not set) or empty string in addition to normal values
fix bug 102
This commit is contained in:
parent
8a0215a7ec
commit
ea0eb492d5
1 changed files with 10 additions and 6 deletions
|
|
@ -65,7 +65,7 @@ class ProfileManager(object):
|
|||
return self._verifyPassword(data_, profile)
|
||||
|
||||
callback_id = self.host.registerCallback(xmlui_cb, with_data=True, one_shot=True)
|
||||
form_ui = xml_tools.XMLUI("form", title=D_('Profile password for %s') % profile, submit_id=callback_id)
|
||||
form_ui = xml_tools.XMLUI("form", title=D_('Profile password for {}').format(profile), submit_id=callback_id)
|
||||
form_ui.addPassword('profile_password', value='')
|
||||
return {'xmlui': form_ui.toXml()}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue