Skip to content

Commit 70ce404

Browse files
committed
It seems that FF32 does not support hidden property in XUL. Fixes issue 7824
1 parent 5163bce commit 70ce404

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

ide/main/src/content/editor.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1416,13 +1416,13 @@ Editor.InfoPanel.prototype.switchView = function (view) {
14161416
Editor.InfoView = function () { };
14171417

14181418
Editor.InfoView.prototype.show = function () {
1419-
document.getElementById(this.name + "View").hidden = false;
1419+
document.getElementById(this.name + "View").style.display = "block";
14201420
document.getElementById(this.name + "Tab").setAttribute("selected", "true");
14211421
};
14221422

14231423
Editor.InfoView.prototype.hide = function () {
14241424
document.getElementById(this.name + "Tab").removeAttribute("selected");
1425-
document.getElementById(this.name + "View").hidden = true;
1425+
document.getElementById(this.name + "View").style.display = "none";
14261426
};
14271427

14281428
/*
@@ -1446,12 +1446,12 @@ Editor.LogView.prototype = new Editor.InfoView;
14461446

14471447
Editor.LogView.prototype.show = function () {
14481448
Editor.InfoView.prototype.show.call(this);
1449-
document.getElementById("logButtons").hidden = false;
1449+
document.getElementById("logButtons").style.display = "flex";
14501450
};
14511451

14521452
Editor.LogView.prototype.hide = function () {
14531453
Editor.InfoView.prototype.hide.call(this);
1454-
document.getElementById("logButtons").hidden = true;
1454+
document.getElementById("logButtons").style.display = "none";
14551455
} ;
14561456

14571457
Editor.LogView.prototype.setLog = function (log) {

ide/main/src/content/selenium-ide-common.xul

+3-3
Original file line numberDiff line numberDiff line change
@@ -311,11 +311,11 @@ limitations under the License.
311311
</hbox>
312312
<iframe flex="1" id="logView" src="LogFrame.html" type="content">
313313
</iframe>
314-
<iframe flex="1" id="helpView" src="HelpView.html" hidden="true" type="content">
314+
<iframe flex="1" id="helpView" src="HelpView.html" style="display:none" type="content">
315315
</iframe>
316-
<iframe flex="1" id="uiView" src="ui-view.html" hidden="true" type="content">
316+
<iframe flex="1" id="uiView" src="ui-view.html" style="display:none" type="content">
317317
</iframe>
318-
<iframe flex="1" id="rollupView" src="rollup-view.html" hidden="true" type="content">
318+
<iframe flex="1" id="rollupView" src="rollup-view.html" style="display:none" type="content">
319319
</iframe>
320320
</vbox>
321321
</overlay>

0 commit comments

Comments
 (0)