Skip to content

Commit 0fbd4fe

Browse files
committed
gpadvs-enable-for-date-time.php: Add Advanced Select functionality for Date & Time fields.
1 parent db953f2 commit 0fbd4fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gp-advanced-select/gpadvs-enable-for-date-time.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
$init_args_for_date_dropdown['fieldId'] = $init_args['fieldId'] . '_' . $index;
2929

3030
$script = 'new GPAdvancedSelect(' . json_encode( $init_args_for_date_dropdown ) . ');';
31-
$slug = 'gp_advanced_select_' . $init_args_for_date_dropdown['formId'] . '_' . $init_args_for_date_dropdown['fieldId'] . '_' . $index;;
31+
$slug = 'gp_advanced_select_' . $init_args_for_date_dropdown['formId'] . '_' . $init_args_for_date_dropdown['fieldId'] . '_' . $index;
3232

3333
// Add the script for this Date part
3434
GFFormDisplay::add_init_script( $init_args_for_date_dropdown['formId'], $slug, GFFormDisplay::ON_PAGE_RENDER, $script );

0 commit comments

Comments
 (0)