medications need refresh after adding
Closed this issue · 6 comments
ekavaliM commented
new patient-entered medications saved but don't show up in medication list right after entering
martzmakes commented
add dataservice to the medication entry controller, and on successful add call: dataservice.forceRefresh();
jsachs commented
When did you take out $route.reload()
? I had this in the save medication function before in the record controller. Was there a reason it wasn't working any more?
jsachs commented
Oh, looks like it's actually still in the meds modal, but it's called from the modal scope, not the record scope.
martzmakes commented
using $route.reload
AND $location.path
was causing the weird double screen issue
jsachs commented
Oh interesting. Okay, I'll make the dataservice change.
jsachs commented
@oehokie did you mean add it to the modal controller or the record controller?