Comment 3 for bug 1742521

Revision history for this message
Jason Boyer (jboyer) wrote :

Hello scripting, my old friend
I've come to talk with you again
Because a condition softly creeping
Took a value while I was sleeping
And the value that was copied from my scope
Still remains
The same as the scope that came before.

So this is an example of bug 1696238; the controller for that view never sees that the receipt_count variable changes because it's initial value (1) is copied into a new scope created by the ng-if that determines whether to display the receipt controls. Changing it to an ng-show instead fixes it. Branch is on its way.