mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-27 01:39:35 -05:00
js: Make auto-scroll to the top working
This commit is contained in:
parent
14998958a3
commit
c63e235489
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@
|
|||
$(e.target).find('.sortable').each(function() {
|
||||
var $el = $(this);
|
||||
var options = {
|
||||
scroll: $el.closest('.container')[0],
|
||||
onMove: function (/**Event*/ event, /**Event*/ originalEvent) {
|
||||
if (typeof this.options['filter'] !== 'undefined' && $(event.related).is(this.options['filter'])) {
|
||||
// Assumes the filtered item is either at the very start or end of the list and prevents the
|
||||
|
|
|
|||
Loading…
Reference in a new issue