Merged V3.0 to HEAD

12381: Reset DEBUG flag - again
  12386: Fix for ETHREEOH-1100 - Unable to edit wiki pages with a single quote ' in the page title
  12390: Fix for ETHREEOH-1099 blocker - double encoding issue with Site Finder and Wiki components.
  12419: JAWS-179: Share I18N issues
  12464: Fix for ETHREEOH-1132: Delete button in My Workspaces dashlet does not work
  12506: Make min entry length for search in Members > Invite to be 3, not 0


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2008-12-23 15:24:24 +00:00
parent 617995d9b3
commit c93daeb07e

View File

@@ -29,7 +29,9 @@
mail.parameters.to = inviteePerson.properties["cm:email"]; mail.parameters.to = inviteePerson.properties["cm:email"];
mail.parameters.subject = "Invitation to join '" + siteName + "' site"; mail.parameters.subject = "Invitation to join '" + siteName + "' site";
var template = companyhome.childByNamePath("Data Dictionary/Email Templates/invite/invite-email.ftl"); var results = search.luceneSearch(" PATH:\"app:company_home/app:dictionary/app:email_templates/cm:invite/cm:invite-email.ftl\"");
var template = results[0];
var args = []; var args = [];
args["inviteePersonRef"] = inviteePerson.nodeRef.toString(); args["inviteePersonRef"] = inviteePerson.nodeRef.toString();
args["inviterPersonRef"] = inviterPerson.nodeRef.toString(); args["inviterPersonRef"] = inviterPerson.nodeRef.toString();