CAL-830: Cannot switch between view if calendar portlet locates in a page whose name contains accent character

Fix description
	- Use onclick to call ajax function