onCancel: function () {
const oModel = this.getView().getModel();
if(oModel.hasPendingChanges()){
oModel.resetChanges();
}
this.oDialog.close();
}
onCancel: function () {
const oModel = this.getView().getModel();
if(oModel.hasPendingChanges()){
oModel.resetChanges();
}
this.oDialog.close();
}