Can't seem to reply to the thread :
http://groups.google.com/group/dhtml-calendar/browse_thread/thread/a49c04d2fc0ed54f?tvc=2&q=function
Your fix for the bug mentioned in the above thread has a tiny typo
def format_js_hash(options)
options.collect { |key,value| key.to_s + ':' + if
['flatCallback', 'disableFunc', 'onSelect',
'onClose', 'onUpdate', 'DateStatusFunc'].include?(key.to_s) then
value else value.inspect end }.join(',')
end
'DateStatusFunc' should be 'dateStatusFunc', like so:
def format_js_hash(options)
options.collect { |key,value| key.to_s + ':' + if
['flatCallback', 'disableFunc', 'onSelect',
'onClose', 'onUpdate', 'dateStatusFunc'].include?(key.to_s) then
value else value.inspect end }.join(',')
end
cheers,