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

Commit

Permalink
Fix #486
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Oct 16, 2014
1 parent c4b9bd6 commit 88a323d
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 12 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 @@ -108,7 +108,7 @@ Class.create("AjxpPane", {
}else{
this.htmlElement.addClassName(cName);
}
if(cPref['externalButtonId']){
if(cPref['externalButtonId'] && $(cPref['externalButtonId'])){
$(cPref['externalButtonId']).toggleClassName(cPref['externalButtonClassName'])
}
}
Expand Down
Expand Up @@ -578,11 +578,11 @@ Class.create("FilesList", SelectableElements, {
init:function(){
var actBar = window.ajaxplorer.actionBar;
oThis.observe('switch-display-mode', function(e){
if(oThis._displayMode == 'list') actBar.getActionByName("thumbs_sortby").disable();
if(oThis._displayMode == 'list') actBar.getActionByName(oThis.htmlElement.id+'-thumbs_sortby').disable();
else actBar.getActionByName("thumbs_sortby").enable();
});
window.setTimeout(function(){
if(oThis._displayMode == 'list') actBar.getActionByName("thumbs_sortby").disable();
if(oThis._displayMode == 'list') actBar.getActionByName(oThis.htmlElement.id+'-thumbs_sortby').disable();
else actBar.getActionByName("thumbs_sortby").enable();
}.bind(window.listenerContext), 800);
}
Expand Down
Expand Up @@ -4792,7 +4792,6 @@ textarea.editor
font-family:monospace;
font-size:13px;
line-height:16px;
white-space:normal;
}

.diaporamaButton
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/themes/orbit/css/allz.css

Large diffs are not rendered by default.

Expand Up @@ -2319,7 +2319,6 @@ textarea.editor
font-family:monospace;
font-size:13px;
line-height:16px;
white-space:normal;
}

.diaporamaButton
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/themes/oxygen/css/allz.css

Large diffs are not rendered by default.

Expand Up @@ -2773,7 +2773,6 @@ textarea.editor
font-family:monospace;
font-size:13px;
line-height:16px;
white-space:normal;
}

.diaporamaButton
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/themes/umbra/css/allz.css

Large diffs are not rendered by default.

Expand Up @@ -3954,7 +3954,6 @@ textarea.editor
font-family:monospace;
font-size:13px;
line-height:16px;
white-space:normal;
}

.diaporamaButton
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/themes/vision/css/allz.css

Large diffs are not rendered by default.

0 comments on commit 88a323d

Please sign in to comment.