Skip to content
Snippets Groups Projects
Commit c914400c authored by Sarina Canelake's avatar Sarina Canelake
Browse files

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

fixed invalid CSS selectors
parents a3cea74a 1dcce2c4
No related branches found
No related tags found
No related merge requests found
......@@ -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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment