You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2005/09/26 16:49:03 UTC

svn commit: r291635 - /incubator/roller/branches/roller_2.0/web/tags/calendar.js

Author: snoopdave
Date: Mon Sep 26 07:48:59 2005
New Revision: 291635

URL: http://svn.apache.org/viewcvs?rev=291635&view=rev
Log:
Added Clear link to calenadar control

Modified:
    incubator/roller/branches/roller_2.0/web/tags/calendar.js

Modified: incubator/roller/branches/roller_2.0/web/tags/calendar.js
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/web/tags/calendar.js?rev=291635&r1=291634&r2=291635&view=diff
==============================================================================
--- incubator/roller/branches/roller_2.0/web/tags/calendar.js (original)
+++ incubator/roller/branches/roller_2.0/web/tags/calendar.js Mon Sep 26 07:48:59 2005
@@ -1382,7 +1382,7 @@
 		else {
 			result += '		<A CLASS="'+this.cssPrefix+'cpTodayText" HREF="javascript:'+windowref+this.returnFunction+'(\''+now.getFullYear()+'\',\''+(now.getMonth()+1)+'\',\''+now.getDate()+'\');'+windowref+'CP_hideCalendar(\''+this.index+'\');">'+this.todayText+'</A>\n';
 			}
-		result += '		<BR>\n';
+		result += '		<BR><A CLASS="'+this.cssPrefix+'cpTodayText" HREF="javascript:document.'+window.CP_targetInput.form.name+'.'+window.CP_targetInput.name+'.value=\'\';'+windowref+'CP_hideCalendar(\''+this.index+'\');">Clear</A>\n';
 		result += '	</TD></TR></TABLE></CENTER></TD></TR></TABLE>\n';
 	}