Skip to main content

Search and Top Navigation

Ticket #4528: ui.datepicker.highlight.patch
File ui.datepicker.highlight.patch, 3.2 KB (added by mstepnicki, May 12, 2009 12:21PM UTC)

Adds setHighlight method (proposal)

--- ui_datepicker.js.orig	2009-05-02 19:29:00.000000000 +0200
+++ ui.datepicker.js	2009-05-12 14:03:00.000000000 +0200
@@ -11,6 +11,18 @@
  *	ui.core.js
  */
 
+/* Testing for a Value in JavaScript Array
+ * http://snook.ca/archives/javascript/testing_for_a_v/ */
+function oc(a)
+{
+  var o = {};
+  for(var i=0;i' + // actions
 							(otherMonth ? (showOtherMonths ? printDate.getDate() : ' ') : // display for other months
 							(unselectable ? '' + printDate.getDate() + '' : '' + printDate.getDate() + '')) + ''; // display for this month

Download in other formats:

Original Format