Merge pull request #392 from aalba6675/fix/tel_number
Do not overwrite telephone numbers
This commit is contained in:
commit
cc1cc61d36
1 changed files with 2 additions and 1 deletions
|
@ -128,7 +128,8 @@ class Telephone(ElementBase):
|
|||
|
||||
def setup(self, xml=None):
|
||||
super(Telephone, self).setup(xml=xml)
|
||||
self._set_sub_text('NUMBER', '', keep=True)
|
||||
## this blanks out numbers received from server
|
||||
##self._set_sub_text('NUMBER', '', keep=True)
|
||||
|
||||
def set_number(self, value):
|
||||
self._set_sub_text('NUMBER', value, keep=True)
|
||||
|
|
Loading…
Reference in a new issue