mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] Task 65 Bug 2 - save_changes()
This commit is contained in:
@@ -84,7 +84,9 @@ var HotelCalendarManagementView = AbstractRenderer.extend({
|
|||||||
|
|
||||||
save_changes: function() {
|
save_changes: function() {
|
||||||
var oparams = this.get_values_to_save();
|
var oparams = this.get_values_to_save();
|
||||||
this.trigger_up('onSaveChanges', oparams);
|
if (oparams) {
|
||||||
|
this.trigger_up('onSaveChanges', oparams);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
resetSaveState: function() {
|
resetSaveState: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user