[ljcom] r11008: LJSV-1776: Wrong Links from calendar in ...
Committer: dpetrov
LJSV-1776: Wrong Links from calendar in sidebar of user with underlines (_username or username_)U trunk/htdocs/js/s2.js
Modified: trunk/htdocs/js/s2.js
===================================================================
--- trunk/htdocs/js/s2.js 2011-09-15 04:59:37 UTC (rev 11007)
+++ trunk/htdocs/js/s2.js 2011-09-15 05:46:07 UTC (rev 11008)
@@ -17,8 +17,9 @@
nextDisabled : 'disabled',
prevDisabled : 'disabled'
},
- monthRef: '/%Y/%M',
- yearRef: '/%Y',
+ dayRef: Site.currentJournalBase + '/%Y/%M/%D',
+ monthRef: Site.currentJournalBase + '/%Y/%M',
+ yearRef: Site.currentJournalBase + '/%Y',
endMonth: new Date,
startAtSunday: true
}).bind('daySelected', function (event) {
