Prevents console errors when that.showError doesn't exist.
Replace fix with code as directed by @FinalAngel
Merge pull request #2841 from mkoistinen/fix_2840

Prevents console errors when that.showError doesn't exist.