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

Commit

Permalink
IE fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Sep 22, 2013
1 parent 04269df commit d49cb24
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/js/ajaxplorer.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Class.create("ActionsToolbar", {
button.OBSERVERS.each(function(pair){
button.ACTION.stopObserving(pair.key, pair.value);
});
button.remove();
try{button.remove();}catch(e){}
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Class.create("AjxpPane", {
var expr = this.options.fitMarginBottom;
try{marginBottom = parseInt(eval(expr));}catch(e){}
}
fitHeightToBottom(this.htmlElement, (this.options.fitParent?$(this.options.fitParent):null), expr);
fitHeightToBottom(this.htmlElement, (this.options.fitParent?$(this.options.fitParent):null), marginBottom);
}
this.childrenPanes.invoke('resize');
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,9 @@ Class.create("AjxpTabulator", AjxpPane, {
this.tabulatorData.each(function(tabInfo){
var header = tabInfo.headerElement;
if(tabInfo != this.selectedTabInfo){
header.setStyle({width:part - ( parseInt(header.getStyle('paddingRight')) + parseInt(header.getStyle('paddingLeft')) + parseInt(header.getStyle('borderRightWidth')) + parseInt(header.getStyle('borderLeftWidth')) ) + 'px'});
try{
header.setStyle({width:part - ( parseInt(header.getStyle('paddingRight')) + parseInt(header.getStyle('paddingLeft')) + parseInt(header.getStyle('borderRightWidth')) + parseInt(header.getStyle('borderLeftWidth')) ) + 'px'});
}catch(e){}
}
}.bind(this));
}
Expand Down
3 changes: 2 additions & 1 deletion core/src/plugins/gui.ajax/res/js/lib/prototype/splitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,8 @@ Class.create("Splitter", AjxpPane, {
Math.min(np, this.paneA._max||9999, this.group._adjust - this.splitbar._adjust -
Math.max(this.paneB._min+this.paneB._padAdjust, this.options.minSize)));
var optNameSet = this.options.set;
var optNameAdjust = this.options.adjust;
var optNameAdjust = this.options.adjust;
if(!np) np = 200;
this.splitbar.setStyle(this.makeStyleObject(this.options.set, np+'px'));
var borderAdjA = 0;
var borderAdjB = 0;
Expand Down

0 comments on commit d49cb24

Please sign in to comment.