Revision 354

Date:
2013/05/29 12:25:36
Author:
ahitrov
Revision Log:
Self-2-self class link bug
Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/core/comps/contenido/document_links.html

     
    31 31 % my $show = (@sources && $link_class && grep { $_ eq $link_class } @sources) || ((@sources && @destinations) || !@destinations) ? 1 : 0;
    32 32 % my $lclass = $link_class;
    33 33 % if ( $link_class && grep { $_ eq $link_class } @destinations ) {
    34 % $show = 0;
    35 % $lclass = undef;
    34 % if ( grep { $_ eq $link_class } @sources ) {
    35 % $show = 1;
    36 % } else {
    37 % $show = 0;
    38 % $lclass = undef;
    39 % }
    36 40 % }
    37 41 <fieldset>
    38 42 <legend>&rarr; <a href="javascript:switch_div('div_source')" style="color:white;"
     
    53 57 % my $show = (@destinations && $link_class && grep { $_ eq $link_class } @destinations ) || !@sources ? 1 : 0;
    54 58 % my $lclass = $link_class;
    55 59 % if ( $link_class && grep { $_ eq $link_class } @sources ) {
    56 % $show = 0;
    57 % $lclass = undef;
    60 % if ( grep { $_ eq $link_class } @destinations ) {
    61 % $show = 1;
    62 % } else {
    63 % $show = 0;
    64 % $lclass = undef;
    65 % }
    58 66 % }
    59 67 <fieldset>
    60 68 <legend>&larr; <a href="javascript:switch_div('div_destination')" style="color:white;"