rem: args.selectedDirectoryString = selecteduri.substr(ldapUrlPrefix.length, selecteduri.length); 
add: args.selectedDirectoryString = selecteduri.substr(ldapUrlPrefix.length); 
context: function AbEditSelectedDirectory(){  if (dirTree.view.selection.count == 1) {    var selecteduri = GetSelectedDirectory();    var directory = GetDirectoryFromURI(selecteduri);    if (directory.isMailList) {      var dirUri = GetParentDirectoryFromMailingListURI(selecteduri);      goEditListDialog(dirUri, null, selecteduri, UpdateCardView);    }    else {      var properties = directory.directoryProperties;      if (properties.dirType == kLDAPDirectory) {        var ldapUrlPrefix = "moz-abldapdirectory://";        var args = { selectedDirectory: directory.dirName,                     selectedDirectoryString: null};        args.selectedDirectoryString = selecteduri.substr(ldapUrlPrefix.length, selecteduri.length);        window.openDialog("chrome://messenger/content/addressbook/pref-directory-add.xul",                      "editDirectory", "chrome,modal=yes,resizable=no,centerscreen", args);      }      else {        AbRenameAddressBook();      }    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/078edbf3ca565af997d7c1db585aa87a96a6b057/abCommon.js/buggy/mail/components/addrbook/content/abCommon.js