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
Merge commit '4d71e35061128b8d9870ce9a5bf84041b4d4ff97' into HEAD