Merge pull request #25331 from Ponnusamy1-V/ponnusamy
fix: list view click and drag select rows
This commit is contained in:
commit
3fc4203aec
1 changed files with 2 additions and 0 deletions
|
|
@ -1283,6 +1283,8 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
|
|||
*/
|
||||
this.dragClick = false;
|
||||
this.$result.on("mousedown", ".list-row-checkbox", (e) => {
|
||||
e.stopPropagation?.();
|
||||
e.preventDefault?.();
|
||||
this.dragClick = true;
|
||||
this.check = !e.target.checked;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue