- changed status to resolved
Workshop tab craft buttons - TypeError
Issue #132
resolved
When clicking a craft button in the workshop tab a (fairly harmless) javascript error is generated;
It is caused by CraftButtonController.buyItem as it tries to call the parameter 'callback', which has not been handed in and so is undefined.
.
I am not sure if that parameter is used elsewhere or if its just a leftover from whatever that function was based off. If its needed still it should be possible to wrap it in a if using typeof.
typeof (callback) === 'function'
Comments (1)
-
- Log in to comment
Fix
#132→ <<cset 85ea100ca98c>>