Clear the new record for Preference
The Preference window create a new record to simulate the read using preferences values. But this mark the record has modified and prevent to click on buttons. So the new record must be canceled just after "new" call. issue5663 review23241002
This commit is contained in:
1 parent
659565265d
commit
1a55a423f7
1 file changed
+1
@@ -601,6 +601,7 @@
|
||||
}.bind(this));
|
||||
};
|
||||
var set_preferences = function(preferences) {
|
||||
this.screen.current_record.cancel();
|
||||
this.screen.current_record.set(preferences);
|
||||
this.screen.current_record.id =
|
||||
this.screen.model.session.user_id;
|
||||
|
||||
Reference in new issue
Block a user