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({ ...@@ -122,8 +122,8 @@ var DetailsView = ValidatingView.extend({
setupDatePicker: function (fieldName) { setupDatePicker: function (fieldName) {
var cacheModel = this.model; var cacheModel = this.model;
var div = this.$el.find('#' + this.fieldToSelectorMap[fieldName]); var div = this.$el.find('#' + this.fieldToSelectorMap[fieldName]);
var datefield = $(div).find("input:.date"); var datefield = $(div).find("input.date");
var timefield = $(div).find("input:.time"); var timefield = $(div).find("input.time");
var cachethis = this; var cachethis = this;
var setfield = function () { var setfield = function () {
var newVal = DateUtils.getDate(datefield, timefield), 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