You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
128 lines
3.6 KiB
128 lines
3.6 KiB
<HTML>
|
|
<HEAD>
|
|
#include "header.inc"
|
|
#include "debug_js.inc"
|
|
#include "constants.inc"
|
|
<meta http-equiv="MSThemeCompatible" content="Yes">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<TITLE id="title0" name="title0">Remote Assistance</TITLE>
|
|
<script id="script1" name="script1" LANGUAGE="Javascript" SRC="../../Common/Constants.js"> </script>
|
|
<LINK id="UI_StyleSheet" REL="stylesheet" TYPE="text/css" HREF="../../Css/rc.css">
|
|
<LINK id="UI_StyleSheet1" REL="stylesheet" TYPE="text/css" HREF="hcp://system/css/shared.css">
|
|
|
|
<SCRIPT id="script0" name="script0" Language="JScript">
|
|
|
|
g_bDebug = false;
|
|
|
|
//
|
|
// InitiateMsg: Initiates the message dialog
|
|
//
|
|
function InitiateMsg()
|
|
{
|
|
TraceFunctEnter("InitiateMsg");
|
|
try
|
|
{
|
|
var vArgs = window.dialogArguments;
|
|
MessageId.innerText = vArgs[0]; // Message
|
|
|
|
var iNewHeight = idBody.scrollHeight + 45;
|
|
window.dialogHeight = iNewHeight + "px";
|
|
}
|
|
catch(error)
|
|
{
|
|
try
|
|
{
|
|
//
|
|
// We would come here from Escalation pages, since this page is in a
|
|
// different namespace and we cannot access the dialogArguments, so
|
|
// we seek the message in the URL
|
|
//
|
|
var szURL = document.URL;
|
|
var i = szURL.indexOf("?", 1);
|
|
MessageId.innerText = szURL.slice(i+1);
|
|
}
|
|
catch(error)
|
|
{
|
|
MessageId.innerText = L_RCCTL_Text;
|
|
}
|
|
}
|
|
TraceFunctLeave();
|
|
}
|
|
|
|
//handling Esc key
|
|
function document.onkeydown()
|
|
{
|
|
TraceFunctEnter("document.onkeydown");
|
|
try
|
|
{
|
|
switch (event.keyCode)
|
|
{
|
|
case 27:
|
|
event.returnValue=false;
|
|
window.returnValue = 0;
|
|
window.close();
|
|
break;
|
|
}
|
|
}
|
|
catch(error)
|
|
{
|
|
window.event.returnValue = false;
|
|
}
|
|
|
|
TraceFunctLeave();
|
|
}
|
|
|
|
//
|
|
// OnClickHandler: Returns the id of the button to parent on Clicking
|
|
//
|
|
function onClickHandler( id )
|
|
{
|
|
TraceFunctEnter("onClickHandler");
|
|
try
|
|
{
|
|
window.returnValue = id;
|
|
window.close();
|
|
}
|
|
catch(error)
|
|
{
|
|
window.event.returnValue = false;
|
|
}
|
|
TraceFunctLeave();
|
|
}
|
|
|
|
</SCRIPT>
|
|
</HEAD>
|
|
<BODY id="idBody" onload=InitiateMsg() class="sys-inlineform-bgcolor1">
|
|
<table id="idMaintable" name="idMainTable" cellpadding="0" cellspacing="0" border=0 class="MaxLayout">
|
|
<TR>
|
|
<TD class="padding6 padding4 padding3">
|
|
<table id="idMsgTbl" name="idMsgTbl" cellspacing=0 cellpadding=0 border=0 class="MaxLayout">
|
|
<tr id="TR1idMsgTbl" name="TR1idMsgTbl">
|
|
<td id="TD0TR1idMsgTbl" name="TD0TR1idMsgTbl" class="valigntop padding5 padding7 padding8 width8">
|
|
#ifndef _PERF_OPTIMIZATIONS
|
|
<IMG id="img0TD0TR1idMsgTbl" name="img0TD0TR1idMsgTbl" src="../../escalation/Common/info.gif">
|
|
#else
|
|
<IMG id="img0TD0TR1idMsgTbl" name="img0TD0TR1idMsgTbl" src="info.gif">
|
|
#endif
|
|
</td>
|
|
<td id="TD2TR1idMsgTbl" name="TD2TR1idMsgTbl" class="sys-font-body sys-color-body padding6 padding8">
|
|
<Span id="MessageId" name="MessageId"> </Span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan=2 class="Height15">
|
|
</td>
|
|
</tr>
|
|
<tr id="TR3idMsgTbl" name="TR3idMsgTbl">
|
|
<td id="idbtnrow" name="idbtnrow" align="center" colspan=2>
|
|
<button class="styBtnWidth sys-font-body sys-color-body" onClick="onClickHandler( 0 )" id="button0" name="button0">
|
|
OK
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
<table>
|
|
</TD>
|
|
</TR>
|
|
</Table>
|
|
</BODY>
|
|
</HTML>
|