add hasTimeField

This commit is contained in:
Joe Fleming 2015-12-09 14:33:40 -07:00
parent 5ee11c894b
commit 7e42f3da5d

View file

@ -185,6 +185,10 @@ define(function (require) {
}
};
self.hasTimeField = function () {
return !!(this.timeFieldName && this.fields.byName[this.timeFieldName]);
};
self.prepBody = function () {
var body = {};