rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
var i = 0; var row = 0; var moduleName; var URL; while (moduleName != "") | numberOfDialogTreeElements = param.GetInt(1); for (i=0; i < numberOfDialogTreeElements; i++) | function onLoad() { param = window.arguments[0].QueryInterface( Components.interfaces.nsIDialogParamBlock ); if( !param ) { dump( " error getting param block interface\n" ); return; } var i = 0; var row = 0; var moduleName; var URL; while (moduleName != "") { moduleName = param.GetString(i++); URL = param.GetSt... |
moduleName = param.GetString(i++); URL = param.GetString(i++); | moduleName = param.GetString(i); URL = param.GetString(++i); | function onLoad() { param = window.arguments[0].QueryInterface( Components.interfaces.nsIDialogParamBlock ); if( !param ) { dump( " error getting param block interface\n" ); return; } var i = 0; var row = 0; var moduleName; var URL; while (moduleName != "") { moduleName = param.GetString(i++); URL = param.GetSt... |
gPrefsBundle = document.getElementById("bundle_prefs"); | function onLoad() { // wizard stuff // instantiate the Wizard Manager wizardManager = new WizardManager( "wizardContents", null, null, gWizardMap ); wizardManager.URL_PagePrefix = "chrome://messenger/content/aw-"; wizardManager.URL_PagePostfix = ".xul"; wizardMan... | |
doSetOKCancel(doOK, doCancel, null, null); | function onLoad(){ dialogParams = window.arguments[0].QueryInterface(nsIDialogParamBlock); var selectElement = document.getElementById("nicknames"); itemCount = dialogParams.GetInt(0); var selIndex = dialogParams.GetInt(1); if (selIndex < 0) selIndex = 0; for (var i=0; i < itemCount; i++) { var menuItem... | |
setTimeout(function delayError() { baseAlert("The was an error starting ChatZilla. " + "Please report the following information:\n" + dumpObjectTree(ex)); }, 100); | function onLoad(){ dd ("Initializing ChatZilla {"); try { init(); } catch (ex) { dd("caught exception while initializing:\n" + dumpObjectTree(ex)); } dd("}"); mainStep();} | |
finder = Components.classes["@mozilla.org/appshell/component/find;1"].getService(); finder = finder.QueryInterface(Components.interfaces.nsIFindComponent); | function onLoad(){ initDialogObject(); // Get find component. finder = Components.classes["@mozilla.org/appshell/component/find;1"].getService(); finder = finder.QueryInterface(Components.interfaces.nsIFindComponent); // Change "OK" to "Find". dialog.find.label = document.getElementById("fBLT").getAttribute("labe... | |
data = window.arguments[0]; data.findDialog = window; | gFindInst = window.arguments[0]; | function onLoad(){ initDialogObject(); // Get find component. finder = Components.classes["@mozilla.org/appshell/component/find;1"].getService(); finder = finder.QueryInterface(Components.interfaces.nsIFindComponent); // Change "OK" to "Find". dialog.find.label = document.getElementById("fBLT").getAttribute("labe... |
dump("accountmanager on load\n"); | function onLoad() { dump("accountmanager on load\n"); accountArray = new Array; RDF = Components.classes["component://netscape/rdf/rdf-service"].getService(Components.interfaces.nsIRDFService); accountManager = Components.classes["component://netscape/messenger/account-manager"].getService(Components.interfaces.nsI... | |
gToolbox = window.arguments[0]; gToolboxDocument = gToolbox.ownerDocument; gToolbox.addEventListener("draggesture", onToolbarDragGesture, false); gToolbox.addEventListener("dragover", onToolbarDragOver, false); gToolbox.addEventListener("dragexit", onToolbarDragExit, false); gToolbox.addEventListener("dragdrop", onToo... | InitWithToolbox(window.arguments[0]); | function onLoad(){ gToolbox = window.arguments[0]; gToolboxDocument = gToolbox.ownerDocument; gToolbox.addEventListener("draggesture", onToolbarDragGesture, false); gToolbox.addEventListener("dragover", onToolbarDragOver, false); gToolbox.addEventListener("dragexit", onToolbarDragExit, false); gToolbox.addEvent... |
initDialog(); | function onLoad(){ gToolbox = window.arguments[0]; gToolboxDocument = gToolbox.ownerDocument; gToolbox.addEventListener("draggesture", onToolbarDragGesture, false); gToolbox.addEventListener("dragover", onToolbarDragOver, false); gToolbox.addEventListener("dragexit", onToolbarDragExit, false); gToolbox.addEvent... | |
var pickerTitle = dialogParams.GetString(1); | var pickerTitle = dialogParams.GetString(0); | function onLoad(){ dialogParams = window.arguments[0].QueryInterface(nsIDialogParamBlock); var pickerTitle = dialogParams.GetString(1); var mainwin = document.getElementById("certPicker"); mainwin.setAttribute("title", pickerTitle); var pickerInfo = dialogParams.GetString(2); setText("pickerInfo", pickerInfo); v... |
var pickerInfo = dialogParams.GetString(2); | var pickerInfo = dialogParams.GetString(1); | function onLoad(){ dialogParams = window.arguments[0].QueryInterface(nsIDialogParamBlock); var pickerTitle = dialogParams.GetString(1); var mainwin = document.getElementById("certPicker"); mainwin.setAttribute("title", pickerTitle); var pickerInfo = dialogParams.GetString(2); setText("pickerInfo", pickerInfo); v... |
itemCount = dialogParams.GetInt(1); | itemCount = dialogParams.GetInt(0); | function onLoad(){ dialogParams = window.arguments[0].QueryInterface(nsIDialogParamBlock); var pickerTitle = dialogParams.GetString(1); var mainwin = document.getElementById("certPicker"); mainwin.setAttribute("title", pickerTitle); var pickerInfo = dialogParams.GetString(2); setText("pickerInfo", pickerInfo); v... |
var nick = dialogParams.GetString(i+3); | var nick = dialogParams.GetString(i+2); | function onLoad(){ dialogParams = window.arguments[0].QueryInterface(nsIDialogParamBlock); var pickerTitle = dialogParams.GetString(1); var mainwin = document.getElementById("certPicker"); mainwin.setAttribute("title", pickerTitle); var pickerInfo = dialogParams.GetString(2); setText("pickerInfo", pickerInfo); v... |
dialogParams.SetInt(1,0); | dialogParams.SetInt(0,0); | function onLoad(){ dialogParams = window.arguments[0].QueryInterface(nsIDialogParamBlock); var pickerTitle = dialogParams.GetString(1); var mainwin = document.getElementById("certPicker"); mainwin.setAttribute("title", pickerTitle); var pickerInfo = dialogParams.GetString(2); setText("pickerInfo", pickerInfo); v... |
doSetOKCancel(OkButtonCallback, null); | doSetOKCancel(OkButtonCallback, CancelButtonCallback); | function OnLoad(){ doSetOKCancel(OkButtonCallback, null); if (window.arguments && window.arguments[0]) { var args = window.arguments[0].split(","); // args will be of the form <number>,<newsgroup name>,<serverid> newmessages = args[0]; newsgroupname = args[1]; serverid = args[2]; dump("new message count = " + new... |
var args = window.arguments[0].split(","); newmessages = args[0]; newsgroupname = args[1]; serverid = args[2]; | dump ("param = " + window.arguments[0] + "\n"); param = window.arguments[0].QueryInterface( Components.interfaces.nsIDialogParamBlock ); dump ("after QI param = " + window.arguments[0] + "\n"); newmessages = param.GetInt(2); newsgroupname = param.GetString(0); serverid = param.GetString(1); param.SetInt(0, 0); param... | function OnLoad(){ doSetOKCancel(OkButtonCallback, null); if (window.arguments && window.arguments[0]) { var args = window.arguments[0].split(","); // args will be of the form <number>,<newsgroup name>,<serverid> newmessages = args[0]; newsgroupname = args[1]; serverid = args[2]; dump("new message count = " + new... |
document.getElementById('ok-button').focus(); | function onLoad(){ pkiParams = window.arguments[0].QueryInterface(nsIPKIParamBlock); dialogParams = pkiParams.QueryInterface(nsIDialogParamBlock); var isupport = pkiParams.getISupportAtIndex(1); cert = isupport.QueryInterface(nsIX509Cert); var bundle = srGetStrBundle("chrome://pippki/locale/newserver.properties... | |
okbutton.setAttribute("value", okButtonText); | okbutton.setAttribute("label", okButtonText); | function OnLoad(){ doSetOKCancel(OkButtonCallback, CancelButtonCallback); gNewsBundle = document.getElementById("bundle_news"); if ("arguments" in window && window.arguments[0]) { args = window.arguments[0].QueryInterface( Components.interfaces.nsINewsDownloadDialogArgs); args.hitOK = false; /* b... |
wizardManager.SetHandlers(null, null, onFinish, null, null, null); | wizardManager.SetHandlers(null, null, onFinish, onCancel, null, null); | function onLoad() { // wizard stuff // instantiate the Wizard Manager wizardManager = new WizardManager( "wizardContents", null, null, gWizardMap ); wizardManager.URL_PagePrefix = "chrome://messenger/content/aw-"; wizardManager.URL_PagePostfix = ".xul"; wizardMan... |
dump("failed to get the smtp hostname:" + ex + "\n"); | function onLoad() { if (!smtpService) smtpService = Components.classes["component://netscape/messengercompose/smtp"].getService(Components.interfaces.nsISmtpService);; init(); try { wizardContents["smtp.hostname"] = smtpService.defaultServer.hostname; dump("initialized with " + wizardContents... | |
document.getElementById('ok-button').focus(); | document.documentElement.getButton("accept").focus(); | function onLoad(){ pkiParams = window.arguments[0].QueryInterface(nsIPKIParamBlock); dialogParams = pkiParams.QueryInterface(nsIDialogParamBlock); var isupport = pkiParams.getISupportAtIndex(1); var cert = isupport.QueryInterface(nsIX509Cert); var connectURL = dialogParams.GetString(1); var gBundleBrand = srG... |
SelectFirstAddressBook(); | function OnLoadAddressBook(){ // FIX ME - later we will be able to use onload from the overlay OnLoadCardView(); top.addressbook = Components.classes["component://netscape/addressbook"].createInstance(); top.addressbook = top.addressbook.QueryInterface(Components.interfaces.nsIAddressBook); top.addressbook.editCardCal... | |
top.addressbook.editCardCallback = UpdateCardView; | top.editCardCallback = UpdateCardView; | function OnLoadAddressBook(){ // FIX ME - later we will be able to use onload from the overlay OnLoadCardView(); top.addressbook = Components.classes["component://netscape/addressbook"].createInstance(); top.addressbook = top.addressbook.QueryInterface(Components.interfaces.nsIAddressBook); top.addressbook.editCardCal... |
gAddressBookBundle = document.getElementById("bundle_addressBook"); | function OnLoadAddressBook(){ verifyAccounts(); // this will do migration, if we need to. top.addressbook = Components.classes["@mozilla.org/addressbook;1"].createInstance(); top.addressbook = top.addressbook.QueryInterface(Components.interfaces.nsIAddressBook); top.gUpdateCardView = UpdateCardView; InitCommonJS(); Ge... | |
if (gPrefs.prefIsLocked("ldap_2.disable_button_add")) document.getElementById("addLDAP").setAttribute("disabled", "true"); | function OnLoadAddressBook(){ gAddressBookBundle = document.getElementById("bundle_addressBook"); gSearchInput = document.getElementById("searchInput"); verifyAccounts(null); // this will do migration, if we need to. top.addressbook = Components.classes["@mozilla.org/addressbook;1"].createInstance(Components.inter... | |
verifyAccounts(); | verifyAccounts(null); | function OnLoadAddressBook(){ gAddressBookBundle = document.getElementById("bundle_addressBook"); verifyAccounts(); // this will do migration, if we need to. top.addressbook = Components.classes["@mozilla.org/addressbook;1"].createInstance(); top.addressbook = top.addressbook.QueryInterface(Components.interfaces.nsIAd... |
cvData.cvBuddyIcon = doc.getElementById("cvBuddyIcon"); | function OnLoadCardView(){ zPrimaryEmail = gAddressBookBundle.getString("propertyPrimaryEmail"); zSecondaryEmail = gAddressBookBundle.getString("propertySecondaryEmail"); zScreenName = gAddressBookBundle.getString("propertyScreenName"); zNickname = gAddressBookBundle.getString("propertyNickname"); zDisplayName = g... | |
zName = gAddressBookBundle.getString("propertyName") + ": "; zNickname = gAddressBookBundle.getString("propertyNickname") + ": "; zDisplayName = gAddressBookBundle.getString("propertyDisplayName") + ": "; zWork = gAddressBookBundle.getString("propertyWork") + ": "; zHome = gAddressBookBundle.getString("propertyHome") +... | function OnLoadCardView(){ rdf = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService(); rdf = rdf.QueryInterface(Components.interfaces.nsIRDFService); var doc = document; /* data for address book, prefixes: "cvb" = card view box "cvh" = crad view header "cv" = card view (normal fields) *... | |
window._content.getSelection() | window.content.getSelection() | function onLoadContent(){ // // If the view source was opened with a "go to line" argument. // if (gGoToLine > 0) { goToLine(gGoToLine); gGoToLine = 0; } document.getElementById('cmd_goToLine').removeAttribute('disabled'); // Register a listener so that we can show the caret position on the status bar. wi... |
doSetOKCancel(EditCardOKButton, 0); | function OnLoadEditCard(){ InitEditCard(); doSetOKCancel(EditCardOKButton, 0); editCard.titleProperty = "editCardTitle"; if (window.arguments && window.arguments[0]) { if ( window.arguments[0].card ) editCard.card = window.arguments[0].card; if ( window.arguments[0].okCallback ) editCard.okCallback... | |
disableElements[i].disabled = 'true'; | disableElements[i].disabled = true; | function OnLoadEditCard(){ InitEditCard(); gEditCard.titleProperty = "editCardTitle"; if (window.arguments && window.arguments[0]) { if ( window.arguments[0].card ) gEditCard.card = window.arguments[0].card; if ( window.arguments[0].okCallback ) gOkCallback = window.arguments[0].okCallback; if ( ... |
doSetOKCancel(EditCardOKButton, 0); | function OnLoadEditCard(){ InitEditCard(); editCard.titleProperty = "editCardTitle"; if (window.arguments && window.arguments[0]) { if ( window.arguments[0].card ) editCard.card = window.arguments[0].card; if ( window.arguments[0].okCallback ) gOkCallback = window.arguments[0].okCallback; if ( wi... | |
InitEditCard(); doSetOKCancel(EditCardOKButton, 0); | InitEditCard(); | function OnLoadEditCard(){ InitEditCard(); doSetOKCancel(EditCardOKButton, 0); editCard.titleProperty = "editCardTitle"; if (window.arguments && window.arguments[0]) { if ( window.arguments[0].card ) editCard.card = window.arguments[0].card; if ( window.arguments[0].okCallback ) editCard.okCallback = window.argu... |
editCard.titleProperty = "editCardTitle"; | doSetOKCancel(EditCardOKButton, 0); | function OnLoadEditCard(){ InitEditCard(); doSetOKCancel(EditCardOKButton, 0); editCard.titleProperty = "editCardTitle"; if (window.arguments && window.arguments[0]) { if ( window.arguments[0].card ) editCard.card = window.arguments[0].card; if ( window.arguments[0].okCallback ) editCard.okCallback = window.argu... |
if (window.arguments && window.arguments[0]) { if ( window.arguments[0].card ) editCard.card = window.arguments[0].card; if ( window.arguments[0].okCallback ) editCard.okCallback = window.arguments[0].okCallback; if ( window.arguments[0].abURI ) editCard.abURI = window.arguments[0].abURI; } if ( editCard.generateDis... | editCard.titleProperty = "editCardTitle"; if (window.arguments && window.arguments[0]) { if ( window.arguments[0].card ) editCard.card = window.arguments[0].card; if ( window.arguments[0].okCallback ) editCard.okCallback = window.arguments[0].okCallback; if ( window.arguments[0].abURI ) editCard.abURI = window.argumen... | function OnLoadEditCard(){ InitEditCard(); doSetOKCancel(EditCardOKButton, 0); editCard.titleProperty = "editCardTitle"; if (window.arguments && window.arguments[0]) { if ( window.arguments[0].card ) editCard.card = window.arguments[0].card; if ( window.arguments[0].okCallback ) editCard.okCallback = window.argu... |
var displayName = editCard.card.displayName; top.window.title = Bundle.formatStringFromName(editCard.titleProperty, [ displayName ], 1); | var displayName = editCard.card.displayName; top.window.title = gAddressBookBundle.getFormattedString(editCard.titleProperty, [ displayName ]); | function OnLoadEditCard(){ InitEditCard(); doSetOKCancel(EditCardOKButton, 0); editCard.titleProperty = "editCardTitle"; if (window.arguments && window.arguments[0]) { if ( window.arguments[0].card ) editCard.card = window.arguments[0].card; if ( window.arguments[0].okCallback ) editCard.okCallback = window.argu... |
document.documentElement.buttons = "accept"; document.documentElement.removeAttribute("ondialogaccept"); | function OnLoadEditCard(){ InitEditCard(); gEditCard.titleProperty = "editCardTitle"; if (window.arguments && window.arguments[0]) { if ( window.arguments[0].card ) gEditCard.card = window.arguments[0].card; if ( window.arguments[0].okCallback ) gOkCallback = window.arguments[0].okCallback; if ( ... | |
for (var i=0; i<disableElements.length; i++) disableElements[i].setAttribute('disabled', 'true'); | for (var i = disableElements.length; i-- > 0; ) disableElements[i].disabled = true; | function OnLoadEditCard(){ InitEditCard(); gEditCard.titleProperty = "editCardTitle"; if (window.arguments && window.arguments[0]) { if ( window.arguments[0].card ) gEditCard.card = window.arguments[0].card; if ( window.arguments[0].okCallback ) gOkCallback = window.arguments[0].okCallback; if ( ... |
gAddressBookBundle = document.getElementById("bundle_addressBook"); | function OnLoadEditList(){ doSetOKCancel(EditListOKButton, 0); parentURI = window.arguments[0].abURI; var listUri = window.arguments[0].listURI; var rdf = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService(); rdf = rdf.QueryInterface(Components.interfaces.nsIRDFService); editList = rdf.GetResource(listU... | |
dump("***** OnLoadEditList\n"); | function OnLoadEditList(){dump("***** OnLoadEditList\n"); doSetOKCancel(EditListOKButton, 0); parentUri = window.arguments[0].abURI; var listUri = window.arguments[0].listURI; var rdf = Components.classes["component://netscape/rdf/rdf-service"].getService(); rdf = rdf.QueryInterface(Components.interfaces.nsIRDFServi... | |
parentUri = window.arguments[0].abURI; | parentURI = window.arguments[0].abURI; | function OnLoadEditList(){dump("***** OnLoadEditList\n"); doSetOKCancel(EditListOKButton, 0); parentUri = window.arguments[0].abURI; var listUri = window.arguments[0].listURI; var rdf = Components.classes["component://netscape/rdf/rdf-service"].getService(); rdf = rdf.QueryInterface(Components.interfaces.nsIRDFServi... |
top.MAX_RECIPIENTS = 0; | function OnLoadEditList(){dump("***** OnLoadEditList\n"); doSetOKCancel(EditListOKButton, 0); parentUri = window.arguments[0].abURI; var listUri = window.arguments[0].listURI; var rdf = Components.classes["component://netscape/rdf/rdf-service"].getService(); rdf = rdf.QueryInterface(Components.interfaces.nsIRDFServi... | |
var templateNode = treeChildren.firstChild; | var templateNode = treeChildren.firstChild; top.MAX_RECIPIENTS = 0; | function OnLoadEditList(){dump("***** OnLoadEditList\n"); doSetOKCancel(EditListOKButton, 0); parentUri = window.arguments[0].abURI; var listUri = window.arguments[0].listURI; var rdf = Components.classes["component://netscape/rdf/rdf-service"].getService(); rdf = rdf.QueryInterface(Components.interfaces.nsIRDFServi... |
var parent = treeChildren.parentNode; parent.replaceChild(newTreeChildrenNode, treeChildren); | function OnLoadEditList(){dump("***** OnLoadEditList\n"); doSetOKCancel(EditListOKButton, 0); parentUri = window.arguments[0].abURI; var listUri = window.arguments[0].listURI; var rdf = Components.classes["component://netscape/rdf/rdf-service"].getService(); rdf = rdf.QueryInterface(Components.interfaces.nsIRDFServi... | |
doSetOKCancel(EditListOKButton, 0); parentURI = window.arguments[0].abURI; var listUri = window.arguments[0].listURI; | doSetOKCancel(EditListOKButton, 0); | function OnLoadEditList(){ //XXX: gAddressBookBundle is set in 2 places because of different callers gAddressBookBundle = document.getElementById("bundle_addressBook"); doSetOKCancel(EditListOKButton, 0); parentURI = window.arguments[0].abURI; var listUri = window.arguments[0].listURI; var rdf = Components.classes... |
var rdf = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService(); rdf = rdf.QueryInterface(Components.interfaces.nsIRDFService); editList = rdf.GetResource(listUri); editList = editList.QueryInterface(Components.interfaces.nsIAbDirectory); | parentURI = window.arguments[0].abURI; var listUri = window.arguments[0].listURI; | function OnLoadEditList(){ //XXX: gAddressBookBundle is set in 2 places because of different callers gAddressBookBundle = document.getElementById("bundle_addressBook"); doSetOKCancel(EditListOKButton, 0); parentURI = window.arguments[0].abURI; var listUri = window.arguments[0].listURI; var rdf = Components.classes... |
document.getElementById('ListName').value = editList.listName; document.getElementById('ListNickName').value = editList.listNickName; document.getElementById('ListDescription').value = editList.description; oldListName = editList.listName; | var rdf = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService(); rdf = rdf.QueryInterface(Components.interfaces.nsIRDFService); editList = rdf.GetResource(listUri); editList = editList.QueryInterface(Components.interfaces.nsIAbDirectory); | function OnLoadEditList(){ //XXX: gAddressBookBundle is set in 2 places because of different callers gAddressBookBundle = document.getElementById("bundle_addressBook"); doSetOKCancel(EditListOKButton, 0); parentURI = window.arguments[0].abURI; var listUri = window.arguments[0].listURI; var rdf = Components.classes... |
if (editList.addressLists) { var total = editList.addressLists.Count(); | document.getElementById('ListName').value = editList.listName; document.getElementById('ListNickName').value = editList.listNickName; document.getElementById('ListDescription').value = editList.description; oldListName = editList.listName; if (editList.addressLists) { var total = editList.addressLists.Count(); | function OnLoadEditList(){ //XXX: gAddressBookBundle is set in 2 places because of different callers gAddressBookBundle = document.getElementById("bundle_addressBook"); doSetOKCancel(EditListOKButton, 0); parentURI = window.arguments[0].abURI; var listUri = window.arguments[0].listURI; var rdf = Components.classes... |
var address; if (card.displayName) address = card.displayName + " <" + card.primaryEmail + ">"; else address = card.primaryEmail; | var address = gHeaderParser.makeFullAddressWString(card.displayName, card.primaryEmail); | function OnLoadEditList(){ //XXX: gAddressBookBundle is set in 2 places because of different callers gAddressBookBundle = document.getElementById("bundle_addressBook"); gParentURI = window.arguments[0].abURI; gListCard = window.arguments[0].abCard; var listUri = window.arguments[0].listURI; gOkCallback = window... |
top.importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); top.importService = top.importService.QueryInterface(Components.interfaces.nsIImportService); if (window.arguments && window.arguments[0]) top.fieldMap = window.arguments[0].fieldMap; if (!top.fieldMap) { top.fieldMap = top.... | top.importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); top.importService = top.importService.QueryInterface(Components.interfaces.nsIImportService); | function OnLoadFieldMapExport(){ top.importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); top.importService = top.importService.QueryInterface(Components.interfaces.nsIImportService); // We need a field map object... // assume we have one passed in? or just make one? if (window.argu... |
ListFields(); | if (window.arguments && window.arguments[0]) top.fieldMap = window.arguments[0].fieldMap; if (!top.fieldMap) { top.fieldMap = top.importService.CreateNewFieldMap(); top.fieldMap.DefaultFieldMap( top.fieldMap.numMozFields); } doSetOKCancel( FieldExportOKButton, 0); ListFields(); | function OnLoadFieldMapExport(){ top.importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); top.importService = top.importService.QueryInterface(Components.interfaces.nsIImportService); // We need a field map object... // assume we have one passed in? or just make one? if (window.argu... |
top.importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); top.importService = top.importService.QueryInterface(Components.interfaces.nsIImportService); top.transferType = "moz/fieldmap"; top.recordNum = 0; if (window.arguments && window.arguments[0]) { top.fieldMap = window.argumen... | top.importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); top.importService = top.importService.QueryInterface(Components.interfaces.nsIImportService); top.transferType = "moz/fieldmap"; top.recordNum = 0; | function OnLoadFieldMapImport(){ top.importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); top.importService = top.importService.QueryInterface(Components.interfaces.nsIImportService); top.transferType = "moz/fieldmap"; top.recordNum = 0; // We need a field map object... // assume we... |
ListFields(); OnNextRecord(); | if (window.arguments && window.arguments[0]) { top.fieldMap = window.arguments[0].fieldMap; top.addInterface = window.arguments[0].addInterface; top.dialogResult = window.arguments[0].result; } if (top.fieldMap == null) { top.fieldMap = top.importService.CreateNewFieldMap(); top.fieldMap.DefaultFieldMap( top.fieldMap.n... | function OnLoadFieldMapImport(){ top.importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); top.importService = top.importService.QueryInterface(Components.interfaces.nsIImportService); top.transferType = "moz/fieldmap"; top.recordNum = 0; // We need a field map object... // assume we... |
SetupCommandUpdateHandlers(); | function OnLoadFolderPane(folderTree){ dump('In onLoadfolderPane\n'); gFolderTree = folderTree; SortFolderPane('FolderColumn', 'http://home.netscape.com/NC-rdf#Name'); //Add folderDataSource and accountManagerDataSource to folderPane accountManagerDataSource = accountManagerDataSource.QueryInterface(Components.inter... | |
gImportMsgsBundle = document.getElementById("bundle_importMsgs"); importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); importService = top.importService.QueryInterface(Components.interfaces.nsIImportService); progressInfo = { }; progressInfo.progressWindow = null; progressInfo.impor... | gImportMsgsBundle = document.getElementById("bundle_importMsgs"); importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); importService = top.importService.QueryInterface(Components.interfaces.nsIImportService); | function OnLoadImportDialog(){ gImportMsgsBundle = document.getElementById("bundle_importMsgs"); importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); importService = top.importService.QueryInterface(Components.interfaces.nsIImportService); progressInfo = { }; progressInfo.progressWi... |
if (window.arguments && window.arguments.length >= 1 && | progressInfo = { }; progressInfo.progressWindow = null; progressInfo.importInterface = null; progressInfo.mainWindow = window; progressInfo.intervalState = 0; progressInfo.importSuccess = false; progressInfo.importType = null; if (window.arguments && window.arguments.length >= 1 && | function OnLoadImportDialog(){ gImportMsgsBundle = document.getElementById("bundle_importMsgs"); importService = Components.classes["@mozilla.org/import/import-service;1"].getService(); importService = top.importService.QueryInterface(Components.interfaces.nsIImportService); progressInfo = { }; progressInfo.progressWi... |
try { var pref = Components.classes["component: if (pref) pref = pref.QueryInterface(Components.interfaces.nsIPref); } catch(e) { const searchResults = "chrome: if (top.appCore) top.appCore.loadUrl(searchResults); else top._content.location.href = searchResults; return; } | function onLoadInternetResults(){ // clear any previous results on load var iSearch = Components.classes["component://netscape/rdf/datasource?name=internetsearch"].getService(); if (iSearch) iSearch = iSearch.QueryInterface(Components.interfaces.nsIInternetSearchService); if (iSearch) iSearch.ClearResultSe... | |
var searchURI = top._content.location.href; if (searchURI) { var offset = searchURI.indexOf("?"); if (offset > 0) { searchURI = searchURI.substr(offset+1); loadResultsTree(searchURI); } | var searchURI = top._content.location.href; if (searchURI) { const lastSearchURIPref = "browser.search.lastMultipleSearchURI"; var offset = searchURI.indexOf("?"); if (offset > 0) { nsPreferences.setUnicharPref(lastSearchURIPref, searchURI); searchURI = searchURI.substr(offset+1); loadResultsTree(searchURI); | function onLoadInternetResults(){ // clear any previous results on load var iSearch = Components.classes["component://netscape/rdf/datasource?name=internetsearch"].getService(); if (iSearch) iSearch = iSearch.QueryInterface(Components.interfaces.nsIInternetSearchService); if (iSearch) iSearch.ClearResultSe... |
return(true); | else { searchURI = nsPreferences.copyUnicharPref(lastSearchURIPref, ""); offset = searchURI.indexOf("?"); if (offset > 0) { nsPreferences.setUnicharPref(lastSearchURIPref, searchURI); searchURI = searchURI.substr(offset+1); loadResultsTree(searchURI); } } } return true; | function onLoadInternetResults(){ // clear any previous results on load var iSearch = Components.classes["component://netscape/rdf/datasource?name=internetsearch"].getService(); if (iSearch) iSearch = iSearch.QueryInterface(Components.interfaces.nsIInternetSearchService); if (iSearch) iSearch.ClearResultSe... |
try { var pref = Components.classes["@mozilla.org/preferences;1"].getService(); if (pref) pref = pref.QueryInterface(Components.interfaces.nsIPref); } catch(e) { const searchResults = "chrome: if (top.appCore) top.appCore.loadUrl(searchResults); else top._content.location.href = searchResults; return; } | function onLoadInternetResults(){ // HACK HACK HACK HACK HACK HACK - chrome urls are being stored in sh as file urls! // access to xpconnect is denied! ack! erk! ork! try { var pref = Components.classes["@mozilla.org/preferences;1"].getService(); if (pref) pref = pref.QueryInterface(Components.interfaces.nsIPr... | |
var iSearch = Components.classes["@mozilla.org/rdf/datasource;1?name=internetsearch"].getService(); if (iSearch) iSearch = iSearch.QueryInterface(Components.interfaces.nsIInternetSearchService); if (iSearch) iSearch.ClearResultSearchSites(); | var iSearch = Components.classes["@mozilla.org/rdf/datasource;1?name=internetsearch"] .getService(Components.interfaces.nsIInternetSearchService); iSearch.ClearResultSearchSites(); | function onLoadInternetResults(){ // HACK HACK HACK HACK HACK HACK - chrome urls are being stored in sh as file urls! // access to xpconnect is denied! ack! erk! ork! try { var pref = Components.classes["@mozilla.org/preferences;1"].getService(); if (pref) pref = pref.QueryInterface(Components.interfaces.nsIPr... |
bundle = srGetStrBundle("chrome: | function onLoadJSConsole() { try { var cs_class = Components.classes['mozilla.consoleservice.1']; var cs_iface = Components.interfaces.nsIConsoleService; var cs_isupports = cs_class.getService(); var cs = cs_isupports.QueryInterface(cs_iface); } catch(exn) { // Couldn't get the ... | |
gAddressBookBundle = document.getElementById("bundle_addressBook"); | function OnLoadMailList(){ doSetOKCancel(MailListOKButton, 0); var selectedAB; if (window.arguments && window.arguments[0]) { if ( window.arguments[0].selectedAB ) selectedAB = window.arguments[0].selectedAB; else selectedAB = "abdirectory://abook.mab"; } // set popup with address book names var abPopup = documen... | |
var abPopup = document.getElementById('abPopup'); if ( abPopup ) { var menupopup = document.getElementById('abPopup-menupopup'); if ( selectedAB && menupopup && menupopup.childNodes ) { for ( var index = menupopup.childNodes.length - 1; index >= 0; index-- ) { if ( menupopup.childNodes[index].getAttribute('data') == s... | var abPopup = document.getElementById('abPopup'); if ( abPopup ) { var menupopup = document.getElementById('abPopup-menupopup'); | function OnLoadMailList(){ //XXX: gAddressBookBundle is set in 2 places because of different callers gAddressBookBundle = document.getElementById("bundle_addressBook"); doSetOKCancel(MailListOKButton, 0); var selectedAB; if (window.arguments && window.arguments[0]) { if ( window.arguments[0].selectedAB ) selectedA... |
var listName = document.getElementById('ListName'); if ( listName ) listName.focus(); moveToAlertPosition(); | if ( selectedAB && menupopup && menupopup.childNodes ) { for ( var index = menupopup.childNodes.length - 1; index >= 0; index-- ) { if ( menupopup.childNodes[index].getAttribute('value') == selectedAB ) { abPopup.label = menupopup.childNodes[index].getAttribute('label'); abPopup.value = menupopup.childNodes[index].getA... | function OnLoadMailList(){ //XXX: gAddressBookBundle is set in 2 places because of different callers gAddressBookBundle = document.getElementById("bundle_addressBook"); doSetOKCancel(MailListOKButton, 0); var selectedAB; if (window.arguments && window.arguments[0]) { if ( window.arguments[0].selectedAB ) selectedA... |
AddMailOfflineObserver(); | function OnLoadMessageWindow(){ HideMenus(); CreateMailWindowGlobals(); CreateMessageWindowGlobals(); verifyAccounts(); InitMsgWindow(); messenger.SetWindow(window, msgWindow); InitializeDataSources(); // FIX ME - later we will be able to use onload from the overlay OnLoadMsgHeaderPane(); try { mailSession.AddFolde... | |
DisableMenus(); | function OnLoadMessageWindow(){ HideMenus(); DisableMenus(); AddMailOfflineObserver(); CreateMailWindowGlobals(); CreateMessageWindowGlobals(); AddToolBarPrefListener(); ShowHideToolBarButtons() verifyAccounts(null); InitMsgWindow(); messenger.SetWindow(window, msgWindow); InitializeDataSources(); // FIX ME - later... | |
SetupCommandUpdateHandlers(); | function OnLoadMessageWindow(){ HideMenus(); CreateMailWindowGlobals(); CreateMessageWindowGlobals(); verifyAccounts(); InitMsgWindow(); messenger.SetWindow(window, msgWindow); InitializeDataSources(); // FIX ME - later we will be able to use onload from the overlay OnLoadMsgHeaderPane(); if(window.arguments && window.... | |
setTimeout("var msgKey = extractMsgKeyFromURI(gCurrentMessageUri); gDBView.loadMessageByMsgKey(msgKey); gNextMessageViewIndexAfterDelete = gDBView.msgToSelectAfterDelete; UpdateStandAloneMessageCounts();", 0); | setTimeout(OnLoadMessageWindowDelayed, 0); | function OnLoadMessageWindow(){ HideMenus(); AddMailOfflineObserver(); CreateMailWindowGlobals(); CreateMessageWindowGlobals(); AddToolBarPrefListener(); ShowHideToolBarButtons() verifyAccounts(null); InitMsgWindow(); messenger.SetWindow(window, msgWindow); InitializeDataSources(); // FIX ME - later we will be able ... |
var messagePaneFrame = top.frames['messagepane']; if (messagePaneFrame) messagePaneFrame.focus(); | function OnLoadMessageWindow(){ HideMenus(); AddMailOfflineObserver(); CreateMailWindowGlobals(); CreateMessageWindowGlobals(); AddToolBarPrefListener(); ShowHideToolBarButtons() verifyAccounts(null); InitMsgWindow(); messenger.SetWindow(window, msgWindow); InitializeDataSources(); // FIX ME - later we will be able ... | |
verifyAccounts(); | function OnLoadMessageWindow(){ CreateMailWindowGlobals(); CreateMessageWindowGlobals(); InitMsgWindow(); messenger.SetWindow(window, msgWindow); InitializeDataSources(); // FIX ME - later we will be able to use onload from the overlay OnLoadMsgHeaderPane(); if(window.arguments && window.arguments.length == 2) { if(wi... | |
verifyAccounts(); | verifyAccounts(null); | function OnLoadMessageWindow(){ HideMenus(); AddMailOfflineObserver(); CreateMailWindowGlobals(); CreateMessageWindowGlobals(); verifyAccounts(); InitMsgWindow(); messenger.SetWindow(window, msgWindow); InitializeDataSources(); // FIX ME - later we will be able to use onload from the overlay OnLoadMsgHeaderPane(); t... |
{ var msgKey = extractMsgKeyFromURI(gCurrentMessageUri); gDBView.loadMessageByMsgKey(msgKey); | { var msgKey = extractMsgKeyFromURI(gCurrentMessageUri); LoadMessageByViewIndex(gDBView.findIndexFromKey(msgKey, true)); | function OnLoadMessageWindowDelayed(loadCustomMessage){ if (loadCustomMessage) gDBView.loadMessageByUrl(gCurrentMessageUri); else{ var msgKey = extractMsgKeyFromURI(gCurrentMessageUri); gDBView.loadMessageByMsgKey(msgKey); } gNextMessageViewIndexAfterDelete = gDBView.msgToSelectAfterDelete; UpdateStandAlon... |
gDBView.loadMessageByMsgKey(msgKey); | LoadMessageByViewIndex(gDBView.findIndexFromKey(msgKey, true)); | function OnLoadMessageWindowDelayed(loadCustomMessage){ if (loadCustomMessage) gDBView.loadMessageByUrl(gCurrentMessageUri); else { var msgKey = extractMsgKeyFromURI(gCurrentMessageUri); gDBView.loadMessageByMsgKey(msgKey); } gNextMessageViewIndexAfterDelete = gDBView.msgToSelectAfterDelete; UpdateStand... |
document.commandDispatcher.addCommand(document.getElementById('cmd_selectAll')); document.commandDispatcher.addCommand(document.getElementById('cmd_delete')); | function OnLoadMessenger(){ verifyAccounts(); loadStartPage(); messenger.SetWindow(window, statusFeedback); AddDataSources(); InitPanes(); loadStartFolder(); getFolderListener(); // FIX ME! - can remove these as soon as waterson enables auto-registration document.commandDispatcher.addCommand(document.g... | |
headerchoice = pref.GetIntPref("mail.show_headers"); | headerchoice = pref.getIntPref("mail.show_headers"); | function OnLoadMessenger(){ AddMailOfflineObserver(); CreateMailWindowGlobals(); Create3PaneGlobals(); verifyAccounts(null); HideAccountCentral(); loadStartPage(); InitMsgWindow(); messenger.SetWindow(window, msgWindow); InitializeDataSources(); InitPanes(); accountManager.SetSpecialFoldersForIdentities(... |
AddMailOfflineObserver(); | function OnLoadMessenger(){ showPerformance = pref.GetBoolPref('mail.showMessengerPerformance'); var beforeLoadMessenger; if(showPerformance) { beforeLoadMessenger = new Date(); } CreateMailWindowGlobals(); Create3PaneGlobals(); verifyAccounts(); HideAccountCentral(); loadStartPage(); InitMsgWindow();... | |
verifyAccounts(); | verifyAccounts(null); | function OnLoadMessenger(){ showPerformance = pref.GetBoolPref('mail.showMessengerPerformance'); var beforeLoadMessenger; if(showPerformance) { beforeLoadMessenger = new Date(); } AddMailOfflineObserver(); CreateMailWindowGlobals(); Create3PaneGlobals(); verifyAccounts(); HideAccountCentral(); loadSt... |
loadStartFolder(); | function OnLoadMessenger(){ verifyAccounts(); loadStartPage(); InitMsgWindow(); messenger.SetWindow(window, msgWindow); AddDataSources(); InitPanes(); loadStartFolder(); AddToSession(); // FIX ME - later we will be able to use onload from the overlay OnLoadMsgHeaderPane(); var id = null; var headerchoice = nu... | |
loadStartFolder(); | function OnLoadMessenger(){ verifyAccounts(); loadStartPage(); InitMsgWindow(); messenger.SetWindow(window, msgWindow); AddDataSources(); InitPanes(); loadStartFolder(); AddToSession(); // FIX ME - later we will be able to use onload from the overlay OnLoadMsgHeaderPane(); var id = null; var headerchoice = nu... | |
var id = null; var headerchoice = null; try { headerchoice = pref.GetIntPref("mail.show_headers"); } catch (ex) { dump("failed to get the header pref\n"); } switch (headerchoice) { case 2: id = "viewallheaders"; break; case 0: id = "viewbriefheaders"; break; case 1: id = "viewnormalheaders"; break; default: id = "vie... | function OnLoadMessenger(){ verifyAccounts(); loadStartPage(); InitMsgWindow(); messenger.SetWindow(window, msgWindow); AddDataSources(); InitPanes(); loadStartFolder(); AddToSession();} | |
var id = null; var headerchoice = null; | gHaveLoadedMessage = false; | function OnLoadMessenger(){ AddMailOfflineObserver(); CreateMailWindowGlobals(); Create3PaneGlobals(); verifyAccounts(null); HideAccountCentral(); loadStartPage(); InitMsgWindow(); messenger.SetWindow(window, msgWindow); InitializeDataSources(); InitPanes(); accountManager.SetSpecialFoldersForIdentities(... |
try { headerchoice = pref.getIntPref("mail.show_headers"); } catch (ex) { dump("failed to get the header pref\n"); } switch (headerchoice) { case 2: id = "viewallheaders"; break; case 0: id = "viewbriefheaders"; break; case 1: id = "viewnormalheaders"; break; default: id = "viewnormalheaders"; break; } var menuitem =... | SetFocusThreadPane(); | function OnLoadMessenger(){ AddMailOfflineObserver(); CreateMailWindowGlobals(); Create3PaneGlobals(); verifyAccounts(null); HideAccountCentral(); loadStartPage(); InitMsgWindow(); messenger.SetWindow(window, msgWindow); InitializeDataSources(); InitPanes(); accountManager.SetSpecialFoldersForIdentities(... |
goSetDefaultController(DefaultController); | function OnLoadMessenger(){ verifyAccounts(); loadStartPage(); messenger.SetWindow(window, statusFeedback); AddDataSources(); InitPanes(); loadStartFolder(); getFolderListener();} | |
HideAccountCentral(); | function OnLoadMessenger(){ var beforeLoadMessenger = new Date(); CreateMailWindowGlobals(); Create3PaneGlobals(); verifyAccounts(); loadStartPage(); InitMsgWindow(); messenger.SetWindow(window, msgWindow); InitializeDataSources(); InitPanes(); accountManager.SetSpecialFoldersForIdentities(); AddToSession(); ... | |
AddToSession(); | AddToSession(); OnLoadMsgHeaderPane(); | function OnLoadMessenger(){ verifyAccounts(); loadStartPage(); InitMsgWindow(); messenger.SetWindow(window, msgWindow); AddDataSources(); InitPanes(); loadStartFolder(); AddToSession(); var id = null; var headerchoice = null; try { headerchoice = pref.GetIntPref("mail.show_headers"); } catch (ex) { du... |
gNumAddressesToShow = pref.GetIntPref("mailnews.max_header_display_length"); gCollectIncoming = pref.GetBoolPref("mail.collect_email_address_incoming"); gCollectNewsgroup = pref.GetBoolPref("mail.collect_email_address_newsgroup"); gShowUserAgent = pref.GetBoolPref("mailnews.headers.showUserAgent"); | gNumAddressesToShow = pref.getIntPref("mailnews.max_header_display_length"); gCollectIncoming = pref.getBoolPref("mail.collect_email_address_incoming"); gCollectNewsgroup = pref.getBoolPref("mail.collect_email_address_newsgroup"); gShowUserAgent = pref.getBoolPref("mailnews.headers.showUserAgent"); | function OnLoadMsgHeaderPane(){ // HACK...force our XBL bindings file to be load before we try to create our first xbl widget.... // otherwise we have problems. document.loadBindingDocument('chrome://messenger/content/mailWidgets.xml'); // load any preferences that at are global with regards to // displaying a ... |
var event = document.createEvent('Events'); event.initEvent('messagepane-loaded', false, true); var headerViewElement = document.getElementById("msgHeaderView"); headerViewElement.dispatchEvent(event); | function OnLoadMsgHeaderPane(){ // HACK...force our XBL bindings file to be load before we try to create our first xbl widget.... // otherwise we have problems. document.loadBindingDocument('chrome://messenger/content/mailWidgets.xml'); // load any preferences that at are global with regards to // displaying a ... | |
var firstName = document.getElementById('FirstName'); if ( firstName ) { | var focus; if (editCard.displayLastNameFirst) focus = document.getElementById('LastName'); else focus = document.getElementById('FirstName'); if ( focus ) { | function OnLoadNewCard(){ InitEditCard(); doSetOKCancel(NewCardOKButton, 0); var cardproperty = Components.classes["@mozilla.org/addressbook/cardproperty;1"].createInstance(Components.interfaces.nsIAbCard); editCard.card = cardproperty; editCard.titleProperty = "newCardTitle"; editCard.selectedAB = ""; if ("argu... |
setTimeout( function(firstTextBox) { firstTextBox.focus(); }, 0, firstName ); | setTimeout( function(firstTextBox) { firstTextBox.focus(); }, 0, focus ); | function OnLoadNewCard(){ InitEditCard(); doSetOKCancel(NewCardOKButton, 0); var cardproperty = Components.classes["@mozilla.org/addressbook/cardproperty;1"].createInstance(Components.interfaces.nsIAbCard); editCard.card = cardproperty; editCard.titleProperty = "newCardTitle"; editCard.selectedAB = ""; if ("argu... |
if ( firstName ) firstName.focus(); | if ( firstName ) { setTimeout( function(firstTextBox) { firstTextBox.focus(); }, 0, firstName ); } | function OnLoadNewCard(){ InitEditCard(); doSetOKCancel(NewCardOKButton, 0); var cardproperty = Components.classes["@mozilla.org/addressbook/cardproperty;1"].createInstance(Components.interfaces.nsIAbCard); editCard.card = cardproperty; editCard.titleProperty = "newCardTitle"; editCard.selectedAB = ""; if ("argu... |
abPopup.data = menupopup.childNodes[index].getAttribute('data'); | function OnLoadNewCard(){ InitEditCard(); doSetOKCancel(NewCardOKButton, 0); var cardproperty = Components.classes["component://netscape/addressbook/cardproperty"].createInstance(); cardproperty = cardproperty.QueryInterface(Components.interfaces.nsIAbCard); editCard.card = cardproperty; editCard.okCallback = 0; editC... | |
doSetOKCancel(NewCardOKButton, 0); var cardproperty = Components.classes["@mozilla.org/addressbook/cardproperty;1"].createInstance(); cardproperty = cardproperty.QueryInterface(Components.interfaces.nsIAbCard); | doSetOKCancel(NewCardOKButton, 0); | function OnLoadNewCard(){ InitEditCard(); doSetOKCancel(NewCardOKButton, 0); var cardproperty = Components.classes["@mozilla.org/addressbook/cardproperty;1"].createInstance(); cardproperty = cardproperty.QueryInterface(Components.interfaces.nsIAbCard); editCard.card = cardproperty; editCard.okCallback = 0; editCard.ti... |
editCard.card = cardproperty; editCard.okCallback = 0; editCard.titleProperty = "newCardTitle" | var cardproperty = Components.classes["@mozilla.org/addressbook/cardproperty;1"].createInstance(); cardproperty = cardproperty.QueryInterface(Components.interfaces.nsIAbCard); | function OnLoadNewCard(){ InitEditCard(); doSetOKCancel(NewCardOKButton, 0); var cardproperty = Components.classes["@mozilla.org/addressbook/cardproperty;1"].createInstance(); cardproperty = cardproperty.QueryInterface(Components.interfaces.nsIAbCard); editCard.card = cardproperty; editCard.okCallback = 0; editCard.ti... |
if ("arguments" in window && window.arguments[0]) { if ("selectedAB" in window.arguments[0]) editCard.selectedAB = window.arguments[0].selectedAB; else editCard.selectedAB = "abdirectory: | editCard.card = cardproperty; editCard.okCallback = 0; editCard.titleProperty = "newCardTitle" if ("arguments" in window && window.arguments[0]) { if ("selectedAB" in window.arguments[0]) editCard.selectedAB = window.arguments[0].selectedAB; else editCard.selectedAB = "abdirectory: | function OnLoadNewCard(){ InitEditCard(); doSetOKCancel(NewCardOKButton, 0); var cardproperty = Components.classes["@mozilla.org/addressbook/cardproperty;1"].createInstance(); cardproperty = cardproperty.QueryInterface(Components.interfaces.nsIAbCard); editCard.card = cardproperty; editCard.okCallback = 0; editCard.ti... |
var abPopup = document.getElementById('abPopup'); if ( abPopup ) { var menupopup = document.getElementById('abPopup-menupopup'); if ( editCard.selectedAB && menupopup && menupopup.childNodes ) { for ( var index = menupopup.childNodes.length - 1; index >= 0; index-- ) { if ( menupopup.childNodes[index].getAttribute('da... | var abPopup = document.getElementById('abPopup'); if ( abPopup ) { var menupopup = document.getElementById('abPopup-menupopup'); | function OnLoadNewCard(){ InitEditCard(); doSetOKCancel(NewCardOKButton, 0); var cardproperty = Components.classes["@mozilla.org/addressbook/cardproperty;1"].createInstance(); cardproperty = cardproperty.QueryInterface(Components.interfaces.nsIAbCard); editCard.card = cardproperty; editCard.okCallback = 0; editCard.ti... |
GetCardValues(editCard.card, document); | if ( editCard.selectedAB && menupopup && menupopup.childNodes ) { for ( var index = menupopup.childNodes.length - 1; index >= 0; index-- ) { if ( menupopup.childNodes[index].getAttribute('value') == editCard.selectedAB ) { abPopup.label = menupopup.childNodes[index].getAttribute('label'); abPopup.value = menupopup.chil... | function OnLoadNewCard(){ InitEditCard(); doSetOKCancel(NewCardOKButton, 0); var cardproperty = Components.classes["@mozilla.org/addressbook/cardproperty;1"].createInstance(); cardproperty = cardproperty.QueryInterface(Components.interfaces.nsIAbCard); editCard.card = cardproperty; editCard.okCallback = 0; editCard.ti... |
var firstName = document.getElementById('FirstName'); if ( firstName ) firstName.focus(); moveToAlertPosition(); | GetCardValues(editCard.card, document); var firstName = document.getElementById('FirstName'); if ( firstName ) firstName.focus(); moveToAlertPosition(); | function OnLoadNewCard(){ InitEditCard(); doSetOKCancel(NewCardOKButton, 0); var cardproperty = Components.classes["@mozilla.org/addressbook/cardproperty;1"].createInstance(); cardproperty = cardproperty.QueryInterface(Components.interfaces.nsIAbCard); editCard.card = cardproperty; editCard.okCallback = 0; editCard.ti... |
if ("displayName" in window.arguments[0]) | if ("displayName" in window.arguments[0]) { | function OnLoadNewCard(){ InitEditCard(); doSetOKCancel(NewCardOKButton, 0); var cardproperty = Components.classes["@mozilla.org/addressbook/cardproperty;1"].createInstance(Components.interfaces.nsIAbCard); editCard.card = cardproperty; editCard.titleProperty = "newCardTitle" if ("arguments" in window && window.a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.