Fixed JS error on showing errors in customActionClicked
Merge pull request #935 from Zentyal/jag/js-customactionclicked-fix

Fixed JS error on showing errors in customActionClicked