Open jawsdaws opened 3 years ago
I'm gonna try to fix this. :-)
So this is a much bigger task than I thought. The base of the problem is that the case for "sub-modal" in never handled in the switch case near the bottom of /html/recipe/application/views/recipe/edit/main.php. Because of the way "sub-modal" handles every type, and the other modals all only handle their own type, I'm not sure how to proceed. I think its going to require a new file for each sub type in /html/recipe/application/views/recipe/edit/modal. Maybe even splitting up sub.js so they only handle each type. IDK at this point.
So this appears to be reproducible every time. Edit a recipe, click substitute, and type in random letters until the "Click to add custom..." appears. Clicking does nothing. It appears to effect fermentables, hops, and yeast.