mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug #74011 --> fix xul syntax breakage. Change .value to .label so the cancel button becomes a close button.
This commit is contained in:
parent
2fa99760de
commit
b984739d2f
@ -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()");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user