Merge pull request #392 from aalba6675/fix/tel_number

Do not overwrite telephone numbers
This commit is contained in:
Mike Taylor 2015-09-18 15:14:35 -04:00
commit cc1cc61d36

View file

@ -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)