can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[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) {

Tags: can3p, js, ljcom
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments