1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Merak Webmail Java Script Problem

Discussion in 'Plesk for Windows - 8.x and Older' started by knocx, Mar 19, 2005.

  1. knocx

    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

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

    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;

    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