monarch-initiative / phenogrid

The phenogrid widget
13 stars 14 forks source link

undefined unmatched phenotypes due to ajax sync -> async #152

Closed yuanzhou closed 8 years ago

yuanzhou commented 8 years ago

It was working without problem before phenogrid changed all ajax calls from sync to async. I just noticed that when you go to this page:

http://stage.monarchinitiative.org/disease/OMIM:105830

and click the unmatched checkbox, you will see the undefined names instead of the actual phenotype names. I'm sure it's caused by the ajax async change. Will fix this ASAP.

capture

yuanzhou commented 8 years ago

Used chainable ajax call backs instead of putting the ajax call in a for loop. Also attached the insertion of unmatched list to the click event.