mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Etemplate: Limit sortable to just the grid's immediate rows, excluding rows in nested grids
This commit is contained in:
parent
b4869aa2a1
commit
eb7a03b191
@ -707,7 +707,7 @@ var et2_grid = /** @class */ (function (_super) {
|
||||
// Set up sortable
|
||||
$node.sortable({
|
||||
// Header does not participate in sorting
|
||||
items: "tr:not(.th)",
|
||||
items: "> tbody > tr:not(.th)",
|
||||
distance: 15,
|
||||
cancel: this.options.sortable_cancel,
|
||||
placeholder: this.options.sortable_placeholder,
|
||||
|
@ -965,7 +965,7 @@ export class et2_grid extends et2_DOMWidget implements et2_IDetachedDOM, et2_IAl
|
||||
// Set up sortable
|
||||
$node.sortable({
|
||||
// Header does not participate in sorting
|
||||
items: "tr:not(.th)",
|
||||
items: "> tbody > tr:not(.th)",
|
||||
distance: 15,
|
||||
cancel: this.options.sortable_cancel,
|
||||
placeholder: this.options.sortable_placeholder,
|
||||
|
Loading…
Reference in New Issue
Block a user