public
Rubygem
Description: A popular and flexible JavaScript DatePicker for RubyOnRails (and others)
Homepage: http://code.google.com/p/calendardateselect/
Clone URL: git://github.com/timcharper/calendar_date_select.git
updated to reflect the movement of closeOnClick to a function (remove temp 
variables refactoring)
timcharper (author)
Sun Apr 06 01:57:13 -0700 2008
commit  b084eda362c9865e60b0682ae747d67a334e70e0
tree    a1de807001e06f6945a2ee88d6367b22714620f5
parent  fe5fd7bcb8166b3e2e7559d8c14887b84269a593
...
158
159
160
161
 
162
163
164
...
158
159
160
 
161
162
163
164
0
@@ -158,7 +158,7 @@
0
     test_timePassed_notUsingTime_shouldIgnore: function() {with(this) {
0
       $("cds_test").value = "May 10, 2007 5:00 pm";
0
       cds = new CalendarDateSelect($("cds_test"), {time:false});
0
- assert(cds.options.get("close_on_click"), "should set close_on_click to true when not using time")
0
+ assert(cds.closeOnClick(), "should set close_on_click to true when not using time")
0
       assertEqual(false, cds.use_time, "When parsing time");
0
       cds.today();
0
       assert(cds.closed, "should close when clicking today");

Comments

    No one has commented yet.