mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 16:22:53 +00:00
Added code for selectaddress.xul (address picker)
This commit is contained in:
parent
c4aa848e52
commit
a5c67c324a
@ -13,20 +13,19 @@ function ChangeDirectoryByURI(uri)
|
||||
|
||||
function EditCard()
|
||||
{
|
||||
var toolkitCore = XPAppCoresManager.Find("ToolkitCore");
|
||||
if (!toolkitCore)
|
||||
{
|
||||
toolkitCore = new ToolkitCore();
|
||||
if (toolkitCore)
|
||||
{
|
||||
toolkitCore.Init("ToolkitCore");
|
||||
}
|
||||
}
|
||||
var dialog = window.openDialog("chrome://addressbook/content/editcard.xul",
|
||||
"editCard",
|
||||
"chrome");
|
||||
return dialog;
|
||||
}
|
||||
|
||||
if (toolkitCore)
|
||||
{
|
||||
toolkitCore.ShowWindow("chrome://addressbook/content/editcard.xul", window);
|
||||
}
|
||||
|
||||
function SelectAddress()
|
||||
{
|
||||
var dialog = window.openDialog("chrome://addressbook/content/selectaddress.xul",
|
||||
"selectAddress",
|
||||
"chrome");
|
||||
return dialog;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user