fix email is sent when normal confirmation icon clicked

[``* `#17584 ` email is sent when normal confirmation icon clicked``](http://community.openproject.org/work_packages/17584)