Bug #74011 --> fix xul syntax breakage. Change .value to .label so the cancel button becomes a close button.

This commit is contained in:
mscott%netscape.com 2001-04-13 03:59:11 +00:00
Родитель 2fa99760de
Коммит b984739d2f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -378,7 +378,7 @@ function setupPostProgressUI()
var cancelButton = document.getElementById('cancel');
if (cancelButton)
{
cancelButton.value = "Close"; // mscott -> replace with a string bundle
cancelButton.label = "Close"; // mscott -> replace with a string bundle
cancelButton.setAttribute("onclick", "window.close()");
}