Revision 17669 recalculates the potential earnings from our model of what is in your store every time you update the prices in the store.
If you don't use ajax to submit the price change, you get the whole inventory, complete with massive amounts of cruft - 559,695 characters of response for my store with 8 items in it.
If you do use ajax, you get a little bit of java script and JSON showing only the items that actually changed prices. 590 characters for my store with one price change.
An advantage of the former is that if the quantity of any item changed - i.e., somebody bought one since the last time the window changed - we would see that.
Turns out we didn't parse that table, so, did not update the count. The only thing we did parse was the JSON, which appears with or without ajax.
I made it parse the full table, if you don't have ajax, and the JSON if you do have ajax.
I also made it request the ajax version from the StoreManager; I think making KoL send us a 600 character response is better than forcing it to send a half million character response.
And in either case, having updated prices and maybe quantities, I made the StoreManager recalculate the potential earnings from its model and update the title in the frame. (Which you will not see if you have the Store Manager as a tab, which might be why I seem to be the only one who was bothered by this.
![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
)