• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Merak Webmail Java Script Problem

K

knocx

Guest
PLESK 7.5 Win with Merak;

Problem : when user types webmail.domain.com gets a Javascript error

Reason: PSA redirects users to webmail login in a frame like this

<HTML>
<HEAD>
<TITLE> Plesk Web Mail Client </TITLE>
</HEAD>
<FRAMESET rows="*,0">
<FRAME src="http://main.mydomain.com:32000/mail" noresize>
<NOFRAMES>
Your browser does not support frames.
</NOFRAMES>
</FRAMESET>
</HTML>

Merak Webmail login page has a java script on it

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">

if (top.length != self.length)
{
var isskin = parent.document.getElementById("foldermenu");
if(isskin) top.location.href = self.location.href;
}
document.login.username.focus();
</SCRIPT>

which can not access to top.length (i guess) and give a pop-up error that confuses the users,

Solution: i have removed PSA forwarding with a simple refresh
 
Back
Top