| Line 250... |
Line 250... |
| 250 |
{
|
250 |
{
|
| 251 |
var rowId = id.substr(6);
|
251 |
var rowId = id.substr(6);
|
| 252 |
if (el.innerHTML.indexOf('<%=enumLOADING%>') != -1)
|
252 |
if (el.innerHTML.indexOf('<%=enumLOADING%>') != -1)
|
| 253 |
{
|
253 |
{
|
| 254 |
openingAllViews = 1;
|
254 |
openingAllViews = 1;
|
| 255 |
RequestViewContent('?envtab=<%=nEnvTab%>&rtag_id=<%=parRtag_id%>&view_id=' + rowId,rowId);
|
255 |
RequestViewContent(rowId);
|
| 256 |
return;
|
256 |
return;
|
| 257 |
} else if (el.style.display == 'none') {
|
257 |
} else if (el.style.display == 'none') {
|
| 258 |
UpdateViewHeader(rowId, 0);
|
258 |
UpdateViewHeader(rowId, 0);
|
| 259 |
}
|
259 |
}
|
| 260 |
}
|
260 |
}
|
| Line 386... |
Line 386... |
| 386 |
///////////////////////////////////////////////
|
386 |
///////////////////////////////////////////////
|
| 387 |
// Function: RequestViewContent
|
387 |
// Function: RequestViewContent
|
| 388 |
// Description: Maintain view content
|
388 |
// Description: Maintain view content
|
| 389 |
// If View Tab is unpopulated - then populate it
|
389 |
// If View Tab is unpopulated - then populate it
|
| 390 |
// if View Tab is populated - then Minimise it
|
390 |
// if View Tab is populated - then Minimise it
|
| - |
|
391 |
// Arguments: rowId - Id if Row to Fetch
|
| 391 |
//
|
392 |
//
|
| 392 |
function RequestViewContent( paramString, rowId ){
|
393 |
function RequestViewContent( rowId ){
|
| 393 |
var requestURL = 'RequestViewContent.asp';
|
394 |
var requestURL = 'RequestViewContent.asp';
|
| - |
|
395 |
var paramString = '?envtab=<%=nEnvTab%>&rtag_id=<%=parRtag_id%>&script_name=<%=ScriptName%>&view_id=' + rowId;
|
| 394 |
|
396 |
|
| 395 |
// Change display states
|
397 |
// Change display states
|
| 396 |
if ( (MM_findObj( 'ENVIMG'+ rowId ).src).indexOf('btn_max.gif') == -1 )
|
398 |
if ( (MM_findObj( 'ENVIMG'+ rowId ).src).indexOf('btn_max.gif') == -1 )
|
| 397 |
{
|
399 |
{
|
| 398 |
// View is currently minimised
|
400 |
// View is currently minimised
|
| Line 598... |
Line 600... |
| 598 |
<td width="1" align="right" valign="top" bgcolor="#dad7c8"><img src="images/p_ctr.gif" width="3" height="3"></td>
|
600 |
<td width="1" align="right" valign="top" bgcolor="#dad7c8"><img src="images/p_ctr.gif" width="3" height="3"></td>
|
| 599 |
</tr>
|
601 |
</tr>
|
| 600 |
<tr>
|
602 |
<tr>
|
| 601 |
<td align="left" valign="top" bgcolor="#dad7c8"> </td>
|
603 |
<td align="left" valign="top" bgcolor="#dad7c8"> </td>
|
| 602 |
<td bgcolor="#dad7c8"><SPAN id="SPANVIEW<%=NNbase_view_id%>" <%If BBviewCollapsed Then%>class="body_scol_thin"<%Else%>class="body_txt"<%End If%>> <b><%=SSbase_view%></b></SPAN></td>
|
604 |
<td bgcolor="#dad7c8"><SPAN id="SPANVIEW<%=NNbase_view_id%>" <%If BBviewCollapsed Then%>class="body_scol_thin"<%Else%>class="body_txt"<%End If%>> <b><%=SSbase_view%></b></SPAN></td>
|
| 603 |
<td align="right" bgcolor="#dad7c8"><a href="javascript:;" onClick="RequestViewContent('?envtab=<%=nEnvTab%>&rtag_id=<%=parRtag_id%>&view_id=<%=NNbase_view_id%>&script_name=<%=ScriptName%>','<%=NNbase_view_id%>');"><img id="ENVIMG<%=NNbase_view_id%>" src="images/<%If BBviewCollapsed Then %>btn_max.gif<%Else%>btn_min.gif<%End If%>" border="0"></a></td>
|
605 |
<td align="right" bgcolor="#dad7c8"><a href="javascript:;" title="Expand/Collapse View" onClick="RequestViewContent('<%=NNbase_view_id%>');"><img id="ENVIMG<%=NNbase_view_id%>" src="images/<%If BBviewCollapsed Then %>btn_max.gif<%Else%>btn_min.gif<%End If%>" border="0"></a></td>
|
| 604 |
<td align="right" valign="top" bgcolor="#dad7c8"> </td>
|
606 |
<td align="right" valign="top" bgcolor="#dad7c8"> </td>
|
| 605 |
</tr>
|
607 |
</tr>
|
| 606 |
</table>
|
608 |
</table>
|
| 607 |
<DIV id="ENVDIV<%=NNbase_view_id%>" class="envContent" <%If BBviewCollapsed Then %>style="display:none;"<%Else%>style="display:block;"<%End If%>>
|
609 |
<DIV id="ENVDIV<%=NNbase_view_id%>" class="envContent" <%If BBviewCollapsed Then %>style="display:none;"<%Else%>style="display:block;"<%End If%>>
|
| 608 |
<%If NOT BBviewCollapsed Then %>
|
610 |
<%If NOT BBviewCollapsed Then %>
|