src/pyams_thesaurus/zmi/term.py
changeset 74 9f4143b02965
parent 57 adc5232e19dd
child 87 dfe19304d980
equal deleted inserted replaced
73:6eaae503e35d 74:9f4143b02965
   259                     'term': label
   259                     'term': label
   260                 }
   260                 }
   261             }
   261             }
   262         else:
   262         else:
   263             term_changes = changes.get(IThesaurusTerm, ())
   263             term_changes = changes.get(IThesaurusTerm, ())
   264             if ('status' in term_changes) or ('label' in term_changes):
   264             if ('status' in term_changes) or ('label' in term_changes) or ('extensions' in term_changes):
   265                 label = (self.context.generic or self.context).label.replace("'", "'")
   265                 label = (self.context.generic or self.context).label.replace("'", "'")
   266                 return {
   266                 return {
   267                     'status': 'callback',
   267                     'status': 'callback',
   268                     'callback': 'PyAMS_thesaurus.tree.updateTerm',
   268                     'callback': 'PyAMS_thesaurus.tree.updateTerm',
   269                     'options': {
   269                     'options': {