Fixed parent.location problem for compose-links

release-0.6
thomascube 19 years ago
parent 609a87e835
commit bc8dc6573e

@ -835,14 +835,17 @@ function rcube_webmail()
} }
else if (props) else if (props)
url += '&_to='+props; url += '&_to='+props;
// don't know if this is necessary... // don't know if this is necessary...
url = url.replace(/&_framed=1/, ""); url = url.replace(/&_framed=1/, "");
this.set_busy(true); this.set_busy(true);
// need parent in case we are coming from the contact frame // need parent in case we are coming from the contact frame
parent.window.location.href = url; if (this.env.framed)
parent.location.href = url;
else
location.href = url;
break; break;
case 'send': case 'send':

Loading…
Cancel
Save