Closed jameswragg closed 13 years ago
Problem: When adding a new item using the cancel control there can be duplication of the row when you go to add a new item.
Steps to reproduce: 1) On any item click 'Add new item' 2) Click cancel 3) Click 'Add new item' 4) Observe the duplicate rows
Looked and looked at this & just couldn't get to the bottom of it.
Sorted myself, woop!
_onDelete in the tasklist wasn't triggering the remove-item event on the model.
Problem: When adding a new item using the cancel control there can be duplication of the row when you go to add a new item.
Steps to reproduce: 1) On any item click 'Add new item' 2) Click cancel 3) Click 'Add new item' 4) Observe the duplicate rows
Looked and looked at this & just couldn't get to the bottom of it.