Index: openacs-4/packages/dotlrn-ecommerce/www/applications.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/www/applications.tcl,v diff -u -N -r1.62 -r1.63 --- openacs-4/packages/dotlrn-ecommerce/www/applications.tcl 24 May 2018 07:06:08 -0000 1.62 +++ openacs-4/packages/dotlrn-ecommerce/www/applications.tcl 23 Jan 2024 12:21:22 -0000 1.63 @@ -129,21 +129,17 @@ } } -##{ \[[_ calendar.y-m-d]\]} - lappend filters {"[_ dotlrn-ecommerce.Already_Registered]" "approved"} set list_filters [subst { date_after { label "[_ dotlrn-ecommerce.Section_Starts_After]" values {} where_clause { active_start_date > :date_after } - form_element_properties {after_html { y-m-d}} } date_before { label "[_ dotlrn-ecommerce.Section_Starts_Before]" values {} where_clause { active_start_date < :date_before } - form_element_properties {after_html { y-m-d}} } type { label "[_ dotlrn-ecommerce.Type_of_Request]" @@ -152,6 +148,11 @@ } }] +template::add_body_handler -event load -script { + document.querySelector('#date_after').setAttribute('type', 'date'); + document.querySelector('#date_before').setAttribute('type', 'date'); +} + if {![info exists section_identifier]} { set section_identifier "null" } @@ -758,4 +759,4 @@ lappend assessment_id_list [lindex $elm 1] } } -set summary_url [export_vars -base /assessment/asm-admin/item-stats {{session_id_list $applications_session_ids} {return_url [ad_return_url]} assessment_id_list}] \ No newline at end of file +set summary_url [export_vars -base /assessment/asm-admin/item-stats {{session_id_list $applications_session_ids} {return_url [ad_return_url]} assessment_id_list}]