nicer error when renaming to existing name

Ticket

+commit
 

 

 

Rename this to "test card foo" ...

 

and you get:

 

notice = getNextElement(getSlotFromContext('main_1_8_1'),'notice'); notice.update('

Rats. Issue with TEST CARD FOO card:</h2>

NAME: must be unique-- A card named \'test card foo\' already exists</p></div>')

Rats. Issue with TEST CARD FOO card:

NAME: must be unique-- A card named 'test card foo' already exists

 

I didn't get that error.  It's not awesome, but... we'll get this in the internationalization sweep.  closing.