xul overlay for ok/cancel

git-svn-id: svn://10.0.0.236/trunk@44503 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brade%netscape.com
1999-08-25 14:36:13 +00:00
parent b88b01913b
commit 3db29ed843
7 changed files with 40 additions and 34 deletions

View File

@@ -29,7 +29,8 @@ function Startup()
{
if (!InitEditorShell())
return;
dump("EditoreditorShell found for dialog Table Properties\n");
doSetOKCancel(onOK, null);
// Create dialog object to store controls for easy access
dialog = new Object;
@@ -61,5 +62,5 @@ function onOK()
{
// Set attribute example:
// imageElement.setAttribute("src",dialog.srcInput.value);
window.close();
return true;
}