Skip to content
Snippets Groups Projects
Commit 2917c09d authored by Valentino Međimorec's avatar Valentino Međimorec Committed by Valentino Međimorec
Browse files

Issue #2901440 by valic: Doesn't on date fields that allow more than one value

parent 76c13663
Branches
Tags
No related merge requests found
...@@ -37,12 +37,12 @@ ...@@ -37,12 +37,12 @@
Drupal.behaviors.single_datetime = { Drupal.behaviors.single_datetime = {
attach: function (context, settings) { attach: function (context, settings) {
// Setting the current language for the calendar.
var language = drupalSettings.path.currentLanguage;
$(context).find('input[data-single-date-time]').once('datePicker').each(function () { $(context).find('input[data-single-date-time]').once('datePicker').each(function () {
var input = $(this); var input = $(this);
// Setting the current language for the calendar.
var language = drupalSettings.path.currentLanguage;
// Get widget type. // Get widget type.
var widgetType = input.data('singleDateTime'); var widgetType = input.data('singleDateTime');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment