Subversion Repositories DevTools

Rev

Rev 4396 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4396 Rev 4397
Line 253... Line 253...
253
            {
253
            {
254
                openingAllViews = 1;
254
                openingAllViews = 1;
255
                RequestViewContent('?envtab=<%=nEnvTab%>&rtag_id=<%=parRtag_id%>&view_id=' + rowId,rowId);
255
                RequestViewContent('?envtab=<%=nEnvTab%>&rtag_id=<%=parRtag_id%>&view_id=' + rowId,rowId);
256
                return;
256
                return;
257
            } else if (el.style.display == 'none') {
257
            } else if (el.style.display == 'none') {
258
               el.style.display = 'block';
-
 
259
               UpdateViewHeader(rowId, 0);
258
               UpdateViewHeader(rowId, 0);
260
            }
259
            }
261
        }
260
        }
262
    }
261
    }
263
}
262
}
Line 289... Line 288...
289
        if (id.indexOf("ENVDIV") == 0)
288
        if (id.indexOf("ENVDIV") == 0)
290
        {
289
        {
291
            var rowId = id.substr(6);
290
            var rowId = id.substr(6);
292
            if (el.innerHTML.indexOf('<%=enumLOADING%>') == -1)
291
            if (el.innerHTML.indexOf('<%=enumLOADING%>') == -1)
293
            {
292
            {
294
                el.style.display = 'none'
-
 
295
                UpdateViewHeader(rowId, 1);
293
                UpdateViewHeader(rowId, 1);
296
                el.innerHTML = '<%=enumLOADING%>';
294
                el.innerHTML = '<%=enumLOADING%>';
297
 
295
 
298
                // Delete from cookie too
296
                // Delete from cookie too
299
                delete vhash[rowId];
297
                delete vhash[rowId];
Line 372... Line 370...
372
    if ( show )
370
    if ( show )
373
    {
371
    {
374
       // View is currently minimised
372
       // View is currently minimised
375
       MM_findObj( 'ENVIMG'+ rowId ).src = 'images/btn_max.gif';
373
       MM_findObj( 'ENVIMG'+ rowId ).src = 'images/btn_max.gif';
376
       MM_findObj( 'SPANVIEW'+ rowId ).style.color = '#808080';
374
       MM_findObj( 'SPANVIEW'+ rowId ).style.color = '#808080';
-
 
375
       MM_findObj( 'ENVDIV'+ rowId ).style.display = 'none';
377
    }
376
    }
378
    else
377
    else
379
    {
378
    {
380
       // View is currently maximised
379
       // View is currently maximised
381
       MM_findObj( 'ENVIMG'+ rowId ).src = 'images/btn_min.gif';
380
       MM_findObj( 'ENVIMG'+ rowId ).src = 'images/btn_min.gif';
382
       MM_findObj( 'SPANVIEW'+ rowId ).style.color = '#000000';
381
       MM_findObj( 'SPANVIEW'+ rowId ).style.color = '#000000';
-
 
382
       MM_findObj( 'ENVDIV'+ rowId ).style.display = 'block';
383
    }
383
    }
384
}
384
}
385
 
385
 
386
///////////////////////////////////////////////
386
///////////////////////////////////////////////
387
//  Function:       RequestViewContent    
387
//  Function:       RequestViewContent    
Line 390... Line 390...
390
//                  if View Tab is populated - then Minimise it
390
//                  if View Tab is populated - then Minimise it
391
//
391
//
392
function RequestViewContent( paramString, rowId ){
392
function RequestViewContent( paramString, rowId ){
393
   var requestURL = 'RequestViewContent.asp';
393
   var requestURL = 'RequestViewContent.asp';
394
 
394
 
395
   // Toggle div
-
 
396
   ToggleDisplay( 'ENVDIV'+ rowId );
-
 
397
 
-
 
398
   // Change display states
395
   // Change display states
399
   if ( (MM_findObj( 'ENVIMG'+ rowId ).src).indexOf('btn_max.gif') == -1 )
396
   if ( (MM_findObj( 'ENVIMG'+ rowId ).src).indexOf('btn_max.gif') == -1 )
400
   {
397
   {
401
      // View is currently minimised
398
      // View is currently minimised
402
      UpdateViewHeader(rowId, 1);    
399
      UpdateViewHeader(rowId, 1);