The way I tab through stuff and create statements, sometimes I accidentally hit "save" twice. It says "Saving... Saving..."
I am now also getting a JS error, though not always.
mw.Api error: createclaim-save-failed Object {error: Object} load.php:11129
Uncaught TypeError: Cannot call method 'enable' of undefined jquery.wikibase.claimview.js:428
In this line, the .data( 'wb-toolbar' ) returns undefined.
this.$toolbar.find( '.wb-ui-toolbar' ).data( 'wb-toolbar' ).enable();
I suppose people shouldn't hit save twice, so perhaps it's not critical it be fixed *right now* but would be good if the code handled this nicer without any errors.
Version: unspecified
Severity: normal