Set cursor when displaying screen to select new record after copy
Closes #12820
This commit is contained in:
+1
-1
@@ -1707,7 +1707,7 @@
|
||||
if (!jQuery.isEmptyObject(new_ids)) {
|
||||
this.current_record = this.group.get(new_ids[0]);
|
||||
}
|
||||
this.display().always(dfd.resolve);
|
||||
this.display(true).always(dfd.resolve);
|
||||
}, dfd.reject);
|
||||
return dfd.promise();
|
||||
},
|
||||
|
||||
@@ -826,7 +826,7 @@ class Screen:
|
||||
self.group.load(new_ids, position=self.new_position)
|
||||
if new_ids:
|
||||
self.current_record = self.group.get(new_ids[0])
|
||||
self.display()
|
||||
self.display(set_cursor=True)
|
||||
return True
|
||||
|
||||
def set_tree_state(self):
|
||||
|
||||
Reference in New Issue
Block a user