Changeset 29397


Ignore:
Timestamp:
09/04/14 09:20:28 (5 years ago)
Author:
JanisV
Message:

Fixed bug with apostrophe in gallery title

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Fotorama/template/slideshow.tpl

    r29384 r29397  
    5454                jQuery('#slideshow .showtitle').text(fotorama.activeFrame['title']); 
    5555                jQuery('#slideshow .imageNumber').text((fotorama.activeFrame['i'])+'/'+{/literal}{count($items)}{literal}); 
    56                 document.title = fotorama.activeFrame['title'] + ' | {/literal}{$GALLERY_TITLE}{literal}'; 
     56                document.title = fotorama.activeFrame['title'] + ' | {/literal}{$GALLERY_TITLE|@escape:javascript}{literal}'; 
    5757              } 
    5858            } 
     
    8383              jQuery('#slideshow .showtitle').text(fotorama.activeFrame['title']); 
    8484              jQuery('#slideshow .imageNumber').text((fotorama.activeFrame['i'])+'/'+{/literal}{count($items)}{literal}); 
    85               document.title = fotorama.activeFrame['title'] + ' | {/literal}{$GALLERY_TITLE}{literal}'; 
     85              document.title = fotorama.activeFrame['title'] + ' | {/literal}{$GALLERY_TITLE|@escape:javascript}{literal}'; 
    8686 
    8787              fullscreen = false; 
Note: See TracChangeset for help on using the changeset viewer.