mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-23 04:32:53 -05:00
TileRenderer: Explicitly set sortable direction to horizontal
Since Sortable.js v1.8.0-rc1 the automatic detection seems unreliable.
This commit is contained in:
parent
67ba5205e2
commit
f07441ae8f
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ class TileRenderer extends Renderer
|
|||
'data-sortable-disabled' => $this->isLocked(),
|
||||
'data-sortable-data-id-attr' => 'id',
|
||||
'data-sortable-filter' => '.addnew',
|
||||
'data-sortable-direction' => 'horizontal', // Otherwise movement is buggy on small lists
|
||||
'data-csrf-token' => CsrfToken::generate(),
|
||||
'data-action-url' => $this->getUrl()->getAbsoluteUrl()
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue