collection: "XM.ContactRelationCollection",
list: "XV.ContactList",
published: {
- showAddress: false,
+ showAddress: false
},
descriptionComponents: [
{name: "jobTitleRow", controlClasses: "enyo-inline", showing: false, components: [
parameters: [{
attribute: "targetClose",
operator: ">=",
- value: XT.date.applyTimezoneOffset(XV.Date.prototype.textToDate("0"), true)
+ value: XT.date.applyTimezoneOffset(XV.DateWidget.prototype.textToDate("0"), true)
}, {
attribute: "targetClose",
operator: "<=",
- value: XT.date.applyTimezoneOffset(XV.Date.prototype.textToDate("+30"), true)
+ value: XT.date.applyTimezoneOffset(XV.DateWidget.prototype.textToDate("+30"), true)
}]
},
totalField: "amount"
parameters: [{
attribute: "shipDate",
operator: ">=",
- value: XT.date.applyTimezoneOffset(XV.Date.prototype.textToDate("-30"), true)
+ value: XT.date.applyTimezoneOffset(XV.DateWidget.prototype.textToDate("-30"), true)
}]
},
dateField: "shipDate",
parameters: [{
attribute: "orderDate",
operator: ">=",
- value: XT.date.applyTimezoneOffset(XV.Date.prototype.textToDate("0"), true)
+ value: XT.date.applyTimezoneOffset(XV.DateWidget.prototype.textToDate("0"), true)
}, {
attribute: "orderDate",
operator: "<=",
- value: XT.date.applyTimezoneOffset(XV.Date.prototype.textToDate("+30"), true)
+ value: XT.date.applyTimezoneOffset(XV.DateWidget.prototype.textToDate("+30"), true)
}]
},
dateField: "orderDate",
components: [
{kind: "onyx.Button", name: "newButton", ontap: "newItem", classes: "icon-plus"},
{kind: "onyx.Button", name: "exportButton", ontap: "exportAttr",
- icon: "share", content: "_export".loc(), classes: "icon-share"}
+ icon: "share", classes: "icon-share"}
]
});
@todo Document the controlValueChanged method.
*/
controlValueChanged: function () {
- this.$.list.refresh();
+ // this is getting called before the list is created
+ //this.$.list.refresh();
return true;
},
/**
// use isNaN here because this value could be a number String, 0 value, or null
// only want to set value as null in cases of bad strings and null/undefined
value = value !== null && !isNaN(value) ? XT.math.round(value, this.getScale()) : null;
- XV.InputWidget.prototype.setValue.call(this, value, options);
+ this.inherited(arguments);
},
/**
Determines whether the user input is numeric.
} else {
value = "";
}
- return XV.InputWidget.prototype.valueChanged.call(this, value);
+ this.inherited(arguments);
}
});
this.$.newItem.setDisabled(_couldNotCreate.apply(this) || disabled);
this.$.label.addRemoveClass("disabled", disabled);
- _.each(this.$.descriptionContainer.$, function (component) {
- component.addRemoveClass("disabled", disabled);
- }, this);
+ // _.each(this.$.descriptionContainer.$, function (component) {
+ // component.addRemoveClass("disabled", disabled);
+ // }, this);
+ this.$.descriptionContainer.addRemoveClass('disabled', disabled);
},
/**
Query the database.