Changeset 4573d4 in indico


Ignore:
Timestamp:
06/24/11 15:43:41 (2 years ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
90eb17
Parents:
2ac44e
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (06/20/11 10:42:48)
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (06/24/11 15:43:41)
Message:

[FIX] set daterange startDate option correctly

  • actually set it to the start date and not to the end date
File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/htdocs/js/jquery/jquery.daterange.js

    r2ac44e r4573d4  
    8282                    } 
    8383                } 
    84                 self.options.startDate = self.endPicker.datepicker('getDate'); 
     84                self.options.startDate = self.startPicker.datepicker('getDate'); 
    8585                self.options.endDate = self.endPicker.datepicker('getDate'); 
    8686            }); 
    8787            // Copy current date in case it was not set before 
    88             self.options.startDate = self.endPicker.datepicker('getDate'); 
     88            self.options.startDate = self.startPicker.datepicker('getDate'); 
    8989            self.options.endDate = self.endPicker.datepicker('getDate'); 
    9090            // Disable the date picker if necessary 
Note: See TracChangeset for help on using the changeset viewer.