Better on current_record when cancel Window.Form
This commit is contained in:
1 parent
41d6296789
commit
9c668d3c22
1 file changed
+1
-1
+1
-1
@@ -261,7 +261,7 @@
|
||||
}
|
||||
|
||||
if (response_id == 'RESPONSE_CANCEL' &&
|
||||
this.screen.current_record !== null) {
|
||||
this.screen.current_record) {
|
||||
result = false;
|
||||
if ((this.screen.current_record.id < 0) || this.save_current) {
|
||||
this.screen.group.remove(this.screen.current_record, true);
|
||||
|
||||
Reference in new issue
Block a user