Skip to content
Snippets Groups Projects
Commit 4982c668 authored by juanf's avatar juanf
Browse files

SSDM-7618 : bugfix

parent 59147674
No related branches found
No related tags found
No related merge requests found
...@@ -407,7 +407,14 @@ var LayoutManager = { ...@@ -407,7 +407,14 @@ var LayoutManager = {
this.isLoadingView = true; this.isLoadingView = true;
var isFirstTime = this.mainContainer === null || forceFirstTime === true || forceFirstTime === undefined; var isFirstTime = this.mainContainer === null || forceFirstTime === true || forceFirstTime === undefined;
// sideMenuBody scroll fix
var firstColumnScroll = null;
if(this.FOUND_SIZE >= this.TABLET_SIZE) {
firstColumnScroll = $("#sideMenuBody").scrollTop();
}
//
var width = $( window ).width(); var width = $( window ).width();
if (width > this.DESKTOP_SIZE) { if (width > this.DESKTOP_SIZE) {
if (this.FOUND_SIZE !== this.DESKTOP_SIZE) { if (this.FOUND_SIZE !== this.DESKTOP_SIZE) {
...@@ -435,6 +442,12 @@ var LayoutManager = { ...@@ -435,6 +442,12 @@ var LayoutManager = {
this._setMobileLayout(view, isFirstTime); this._setMobileLayout(view, isFirstTime);
} }
// sideMenuBody scroll fix
if(this.FOUND_SIZE >= this.TABLET_SIZE && firstColumnScroll) {
$("#sideMenuBody").scrollTop(firstColumnScroll);
}
//
this.triggerResizeEventHandlers(); this.triggerResizeEventHandlers();
this.isLoadingView = false; this.isLoadingView = false;
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment