1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- function metaLogonWindow(parentWin)
- {
- var theURL = cfgGet("SCRIPT_ENGINE") + "?b_action=xts.run&m=portal/close.xts";
- var expWnd = window.open(theURL,"LoginWnd","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=630,height=310");
- cfgSet("expWnd", expWnd);
- cfgSet("winHdl", parentWin);
- setTimeout(mLPWindow, 1000);
- }
- function mLPWindow(){
- var expWnd = cfgGet("expWnd");
- if (expWnd && !expWnd.closed)
- setTimeout(mLPWindow, 1000);
- else
- {
- var winHdl = cfgGet("winHdl");
- if (winHdl && winHdl.location)
- {
-
- doMetadataRequest(cfgGet("CURRENT_REQUEST"));
- }
- cfgRemove("winHdl");
- cfgRemove("expWnd");
- }
- }
- function metaErrorPage(error)
- {
- var errmessage = error[1]
- var errdetail = "";
-
- for( i=2; i < error.length; i++)
- {
- errdetail += error[i].substring((error[i].indexOf(",")) + 1) + '\n';
- }
- document.pform.m.value = prod_dir + "/tree_error.xts";
- document.pform.errorText.value= errmessage.substring((errmessage.indexOf(",")) + 1);
- document.pform.errorDetail.value = errdetail;
- document.pform.ps_nav_op.value = "maintain";
- document.pform.submit();
- }
|