Merge pull request #3295 from Icinga/bugfix/focus-preserve-scroll-position
Icinga.Loader.prototype.renderContentToContainer(): preserve scroll position despite the focus
This commit is contained in:
commit
a812a95a9b
|
@ -878,7 +878,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (scrollPos !== false) {
|
if (scrollPos !== false) {
|
||||||
$container.scrollTop(scrollPos);
|
setTimeout($container.scrollTop.bind($container), 0, scrollPos);
|
||||||
}
|
}
|
||||||
var icinga = this.icinga;
|
var icinga = this.icinga;
|
||||||
//icinga.events.applyHandlers($container);
|
//icinga.events.applyHandlers($container);
|
||||||
|
|
Loading…
Reference in New Issue