Found out that you can type "getCustomFields()" in browser javascript console to fix this. The department field will turn from 'disabled' to 'enabled' and no errors when submitting ticket! :O
Seems to be an error in retrieving department fields via ajax..