Liferay aui button onclick not working

Liferay aui button onclick not working

Description Liferay version 6.2, portlet: Liferay built Message board. Liferay renders the url by redirect parameter. Even the parameter is already passed into the url. https://employeetest2.sgi.sk.ca/bulletin-board?p_p_id=19&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_pos=1&p_p_col_count=2&_19_mbCategoryId=565603&_19_redirect=https://employeetest2.sgi.sk.ca/bulletin-board?p_p_id=19&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_pos=1&p_p_col_count=2&_19_struts_action=/message_boards/edit_message…