Bug 86726: Form Manager is blank. r=pchen, sr=blake. Note: this is a temporary work-around.

This commit is contained in:
jaggernaut%netscape.com 2001-07-05 21:48:41 +00:00
parent b6d76a8c7e
commit 8b38cface9
2 changed files with 24 additions and 0 deletions

View File

@ -18,6 +18,17 @@
* Contributor(s):
*/
var sizeToShow = function() {
if (navigator.platform.indexOf("Win") != -1) {
sizeToShow = function() {};
} else {
sizeToShow = function() {
window.resizeBy(0, 1);
window.resizeBy(0, -1);
};
}
};
function initPanel() {
var tag = document.getElementById("panelFrame").getAttribute("tag");
if (hWalletViewer) {
@ -26,6 +37,7 @@ function initPanel() {
window.queuedTag = tag;
window.queuedTagPending = true;
}
sizeToShow(); //XXXjag work-around for bug 86726
}
window.doneLoading = false;

View File

@ -18,6 +18,17 @@
* Contributor(s):
*/
var sizeToShow = function() {
if (navigator.platform.indexOf("Win") != -1) {
sizeToShow = function() {};
} else {
sizeToShow = function() {
window.resizeBy(0, 1);
window.resizeBy(0, -1);
};
}
};
function initPanel() {
var tag = document.getElementById("panelFrame").getAttribute("tag");
if (hWalletViewer) {
@ -26,6 +37,7 @@ function initPanel() {
window.queuedTag = tag;
window.queuedTagPending = true;
}
sizeToShow(); //XXXjag work-around for bug 86726
}
window.doneLoading = false;