Fix an undeclared variable

The paneDate variable is not declared in calendar.js. Fix #1307.
Update the history of Calendar
Merge branch 'fix1307' into dev-3.x
Build Calendar