Ignore:
Timestamp:
Feb 28, 2010, 5:54:12 PM (10 years ago)
Author:
Eric
Message:

[NBC_UserAdvManager] Pre-2.13.5

  • Bug 1468 fixed : Java error reported and fixed by cljosse
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/trunk/admin/global.tpl

    r4986 r4997  
    1414
    1515<script type="text/javascript">
    16 function nbc_blockToggleDisplay($head1, $ehead1)
     16function nbc_blockToggleDisplay( headerId, contentId )
    1717{ldelim}
    18 n1=$head1;
    19 n2=$ehead1;
    20 
    21 blockToggleDisplay($head1, $ehead1) ;
    22      document.getElementById("nb_para").value =n1 ; 
    23      document.getElementById("nb_para2").value =n2 ;
    24 }
    25 
    26 blockToggleDisplay(n1,n2 );
     18  if (typeof(headerId)=='string')
     19  {ldelim}
     20   if ( headerId.length>  1)
     21       blockToggleDisplay(headerId, contentId) ;
     22      document.getElementById("nb_para").value =headerId ;
     23      document.getElementById("nb_para2").value =contentId;
     24} }
    2725</script>
    2826
Note: See TracChangeset for help on using the changeset viewer.