Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
drfho committed Oct 4, 2022
1 parent 6804ed1 commit 6b538f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/zms/_objinputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def getPasswordInput(self, fmName, elName, size=15, value='', enabled=True, css=
# ----------------------------------------------------------------------------
def getTextInput(self, fmName, elName, size=None, value='', type='text', enabled=True, css='form-control', placeholder=''):
# In case lang is set to None, use primary language
lang = self.REQUEST.get('lang', None) is not None and self.REQUEST.get('lang',None) or self.getPrimaryLanguage()
lang = self.REQUEST.get('lang') is not None and self.REQUEST.get('lang') or self.getPrimaryLanguage()
elId = elName
if elId.endswith('_%s'%lang):
elId = elId[:-len('_%s'%lang)]
Expand Down

0 comments on commit 6b538f0

Please sign in to comment.