Move the online email_editor to a more common place

skala
Yannick Warnier 15 years ago
parent a049b1efef
commit 3f7efa97c5
  1. 0
      main/inc/email_editor.php
  2. 2
      main/inc/lib/javascript/email_links.lib.js.php

@ -61,7 +61,7 @@ function loadEmailEditor(e)
}
//el is now my link object, so I can get el.href here to load the new window
var link = el.href.replace('mailto:','');
document.location = "<?php echo api_get_path(WEB_CODE_PATH);?>messaging/email_editor.php?dest=" + link;
document.location = "<?php echo api_get_path(WEB_CODE_PATH);?>inc/email_editor.php?dest=" + link;
//cancel default link action
if(window.event && window.event.returnValue){
window.event.returnValue = false;

Loading…
Cancel
Save