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

Commit

Permalink
Do not "autoFoldOnEvent" if unfolded from main button, just when unfo…
Browse files Browse the repository at this point in the history
…lded from the tabs.
  • Loading branch information
cdujeu committed Dec 19, 2013
1 parent 20e2822 commit eff5824
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/js/ajaxplorer.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions core/src/plugins/gui.ajax/res/js/lib/prototype/splitter.js
Expand Up @@ -359,7 +359,10 @@ Class.create("Splitter", AjxpPane, {
*/
toggleFolding : function(pane){
if(this.splitbar.hasClassName("folded")) {
var afE = this.options.autoFoldOnEvent;
this.options.autoFoldOnEvent = false;
this.unfold();
this.options.autoFoldOnEvent = afE;
return false;
}else {
this.foldPane(pane);
Expand Down

0 comments on commit eff5824

Please sign in to comment.