Fixing js error. r=hewitt sr=hyatt

This commit is contained in:
blakeross%telocity.com 2006-05-17 02:31:39 +00:00
parent 58389b4f49
commit ff1781c010
2 changed files with 2 additions and 1 deletions

View File

@ -160,7 +160,7 @@ function SelectActiveCharset()
function enable_save()
{
var save_button = document.getElementById('ok');
var save_button = document.documentElement.getButton("accept");
save_button.removeAttribute('disabled');
}

View File

@ -24,6 +24,7 @@
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-charset.dtd" >
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&charset.customize.title.label;"
onload="Init();"
ondialogaccept="return Save();"
persist="width height"