Found it... It's in login_common.jsp:
function detectPopupBlockers() {
// get the path
var pathstr = requrl;
var patharr = pathstr.split("/");
pathstr = patharr[0];
var popBlock = 0;
try {
var top = 0;
var left = screen.width;
var testWin =
window.open('PopupTest.jsp','PopupTest','width=1,height=1,left=' + left +
',top=' + top +
',scrollbars=no,toolbar=no,menubars=no,location=no,status=no,titlebar=no');
var testWinName = testWin.name;
testWin.close();
} catch (exception) {
window.focus();
alert("<%=MessageTranslation.getLocalizedText(locale, "Popup blockers
must be disabled to use this application.")%>");
popBlock = 1;
}
//set a cookie to show you have already displayed a message
var popupCookie = "PopBlock=" + popBlock + ";path=/" + pathstr;
document.cookie = popupCookie;
}
So, to detect if you have a popup blocker, they send a popup to the window. I
can see why they have it, so that you don't block your further windows.
Thanks,
Gary Opela, Jr., RSP
Remedy Engineer
Leader Communications, Inc.
http://www.5pointleader.com
http://www.lcibest.com
Best Product, Best People, Best PriceTM
An ISO 9001:2000 Certified, CMMI(r) Level 3 Rated Company
________________________________
From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED]
On Behalf Of Decou, Candace M
Sent: Wednesday, June 11, 2008 10:20 AM
To: [email protected]
Subject: Re: popup on mid-tier login
Gary -
This happens all the time whenever you log into mid-tier. It is annoying I
agree but in general I would recommend that ALL popup blockers be disabled
anyway because if they are catching that one, they will certainly cause
problems with other windows opening. I don't think it has anything to do with
logging being on or off - it happens to everyone all the time. It doesn't have
to do with user preferences either. So I don't think you did anything to cause
it, I just think it is the new wonderful annoying feature of mid-tier 7.1.
Maybe someone else out there knows what it is and why it is popping up and why,
at least to my knowledge, we never saw this behavior before in earlier versions
of mid-tier.
:)
Candace DeCou
DOI Remedy Systems Analyst
Verizon Business
Office: (408) 371-1112
Email: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
Verizon Business - global capability, personal accountability.
This e-mail is strictly confidential and intended only for use by the addressee
unless otherwise indicated
________________________________
From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED]
On Behalf Of Gary Opela (Corporate)
Sent: Wednesday, June 11, 2008 7:57 AM
To: [email protected]
Subject: popup on mid-tier login
Has anyone else noticed a popup window that comes and goes away instantly on
the login window? I thought at first that maybe it was the logging window that
shows what all is going on, but I don't have any user preferences in the user
preference form.
It's annoying because our pop-up blockers catch it. I was wondering if maybe I
did something to cause it, or maybe my logging was on, but I don't know where
else to look since there are no entries in user preferences.
Mid-Tier 7.1
ARSystem 7.1
Windows Server 2k3
SQL Server 2k5
Thanks,
Gary Opela, Jr., RSP
Remedy Engineer
Leader Communications, Inc.
http://www.5pointleader.com
http://www.lcibest.com
Best Product, Best People, Best PriceTM
An ISO 9001:2000 Certified, CMMI(r) Level 3 Rated Company
__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___
__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"