ichinco / mastergear

0 stars 0 forks source link

clicking on left panel gear item, gear item disappears #52

Open evilwire opened 10 years ago

evilwire commented 10 years ago

Replicate: after clicking on a search item, the corresponding item appears on the right. Click on the item's title, and the item disappears.

Why does this happen: when you click on the item's title, it actually causes the dialog to perform a "selectGear" call; it searches for the gear-id (which doesn't exist), causing the null item to be added.

To fix: when clicking on the title, do not trigger selectGear.