rem: doSetOKCancel( FieldImportOKButton, 0);  
add: gMoveUpButton = document.getElementById("upButton"); gMoveDownButton = document.getElementById("downButton"); gPreviousButton = document.getElementById("previous"); gNextButton = document.getElementById("next"); 
context: 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 have one passed in? or just make one?  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.numMozFields);  }  doSetOKCancel( FieldImportOKButton, 0);  gListbox = document.getElementById("fieldList");  ListFields();  OnNextRecord();  // childNodes includes the listcols and listhead  gListbox.selectedItem = gListbox.childNodes[2];  window.sizeToContent();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7e372d9458a4f31b00f42767ebd869121ebdea47/fieldMapImport.js/buggy/mailnews/import/resources/content/fieldMapImport.js