https://bugzilla.wikimedia.org/show_bug.cgi?id=44641
Web browser: ---
Bug ID: 44641
Summary: claimview JS error on save
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l