Comment 7 for bug 1272566

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

It looks to me like after the type selection is changed, and the value box is re-created, then the onchange handler is connected to the value box. But it will only try to update the value if the value box is changed after that point. And since there is only one UPC is most cases, it isn't possible to change to another one, and then back to the UPC you want.

Maybe calling updateOrderIdent() at the end would register the current selection as the official order identifier. I'll try that out.

https://git.evergreen-ils.org/?p=Evergreen.git;a=blob;f=Open-ILS/web/js/ui/default/acq/common/li_table.js;hb=7fb2ccc551797063aa2cb220a3ad33a2d9f405fb#l1117