Closed crazedsanity closed 10 years ago
It seems there's a duplication problem when adding different types multiple times. Recreation:
It has everything to do with the javascript & timing. In testing (on the branch issue_37
), I fixed this by removing the code calling submitNewRecordDialog(this)
and put it into the onClick
property on the template's HTML directly. No duplication after that.
Seems to be fixed in v0.9.0. Interesting to note, however, that the input in the dialog now changes colors (marked as dirty, then as being updated).
Creating the first weapon works normally. Creating a second (possibly only after not reloading) causes three additional copies of the item to appear.