Expand all / Collapse all doesn't really do 'all'

(Daniel) #1

In forms.php I noticed that the Collapse All / Expand All button in both the Encounter Screen and the Encounter Review doesn’t actually expand all.

It only expands up to 15. Looking at the code, this number was hard coded. Is there a reason for this?

I went in and changed it to 45. I don’t foresee needing more than 45 LBF’s, but 15 seems like a low number.

(Brady Miller) #2

hi @growlingflea,
That’s a bug that should be fixed and should not be hard-coded (it should traverse everything that is there rather than looping through a set number).