Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Previous FilesList commit broke the scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Mar 17, 2014
1 parent 475c6c5 commit 8d35d17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/js/ajaxplorer.js

Large diffs are not rendered by default.

Expand Up @@ -879,8 +879,8 @@ Class.create("FilesList", SelectableElements, {
this.stopObserving("resize", this.observer);
this.scrollSizeObserver = function(){
window.setTimeout(function(){
if(!this.htmlElement || !this.scrollbar || !contentContainer) return;
if(this._displayMode == "list"){
if(!this.htmlElement || !this.scrollbar) return;
if(this._displayMode == "list" && contentContainer){
fitHeightToBottom(contentContainer, this.htmlElement);
if(Prototype.Browser.IE){
this._headerResizer.resize(contentContainer.getWidth());
Expand Down

0 comments on commit 8d35d17

Please sign in to comment.