Discussion Forum

[Fixed] Changing card quantity

Hang on, something went wrong...
doesn't exist in the MTG Vault database.

Changed the quantity of a card in a deck: Hover over the card, click the #, change value via form input, hit Enter key to submit, error!

Quantity change is saved okay, but error is thrown as if I had tried to add a card that doesn't exist--only I didn't; thus the card name in error message. (Another case of unchecked whitespace, I'm guessing, per my earlier bug report re. adding cards via bulk import.)
Posted 06 January 2013 at 14:04

Permalink

Hahahaha I know what this is. I just recreated it in Chrome. If you have the autocomplete or bulk importer visible while you do the above, the "default" button is the "Add Card" button, so pressing enter fires that and tries to add a card.

I hate .NET sometimes. This one will be fun to fix :)
0
Posted 08 January 2013 at 23:14

Permalink

Then again, sometimes it's already thought of these issues :p I can simply add "UseSubmitBehavior="false"" onto the buttons, this means pressing enter doesn't randomly fire the button, it needs to be selected in the DOM using say tab.

Ian
0
Posted 08 January 2013 at 23:35

Permalink