Browse Source

[Fix] Disallow Drag and drop across child-table (#4572)

* drag and drop across child-table disallow

* improvised
version-14
Zarrar 7 years ago
committed by Faris Ansari
parent
commit
eb2c7753c3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/form/grid.js

+ 1
- 1
frappe/public/js/frappe/form/grid.js View File

@@ -311,7 +311,7 @@ frappe.ui.form.Grid = Class.extend({
} }


new Sortable($rows.get(0), { new Sortable($rows.get(0), {
group: {name: 'row'},
group: {name: me.df.fieldname},
handle: '.sortable-handle', handle: '.sortable-handle',
draggable: '.grid-row', draggable: '.grid-row',
filter: 'li, a', filter: 'li, a',


Loading…
Cancel
Save