Commit c914400c by Sarina Canelake

Merge pull request #8158 from gymnasium/gymnasium/fix-invalid-selector

fixed invalid CSS selectors
parents a3cea74a 1dcce2c4
......@@ -122,8 +122,8 @@ var DetailsView = ValidatingView.extend({
setupDatePicker: function (fieldName) {
var cacheModel = this.model;
var div = this.$el.find('#' + this.fieldToSelectorMap[fieldName]);
var datefield = $(div).find("input:.date");
var timefield = $(div).find("input:.time");
var datefield = $(div).find("input.date");
var timefield = $(div).find("input.time");
var cachethis = this;
var setfield = function () {
var newVal = DateUtils.getDate(datefield, timefield),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment