Coversion of Composer dialogs to XUL 1.0 compliance: use '<dialog>' and related common button attributes instead of global overlays. b=104113, r=akkana, sr=ben
git-svn-id: svn://10.0.0.236/trunk@109968 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -37,8 +37,6 @@ function Startup()
|
||||
if (!InitEditorShell())
|
||||
return;
|
||||
|
||||
doSetOKCancel(onOK, onCancel);
|
||||
|
||||
tableElement = editorShell.CreateElementWithDefaults(tagName);
|
||||
if(!tableElement)
|
||||
{
|
||||
@@ -133,7 +131,7 @@ function ValidateData()
|
||||
}
|
||||
|
||||
|
||||
function onOK()
|
||||
function onAccept()
|
||||
{
|
||||
if (ValidateData())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user