Changeset 1959


Ignore:
Timestamp:
08/23/07 10:14:03 (12 years ago)
Author:
jukka
Message:

Fixed #1500.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/PresentationMaterial.py

    r1867 r1959  
    215215            kwargs={'field': 'bodyText', 'allowed_types_sequence': ['image', 'string']} 
    216216            self.setBodyText(chapters, **kwargs) 
    217         if fine_piece==1: 
     217        if fine_pieces==1: 
    218218            plone_utils.addPortalMessage(_(u'Slide uploaded')) 
    219         if fine_piece>1: 
     219        if fine_pieces>1: 
    220220            plone_utils.addPortalMessage(_(u'Slides uploaded')) 
    221221        return is_edited 
  • trunk/skins/lemill/slide_uploader.pt

    r1866 r1959  
    5151                                name string:bodyText_file_${index}"  
    5252        /> 
    53         <img tal:condition="slidepiece" src="" tal:attributes="src slidepiece/image_small/absolute_url"/> 
     53        <img tal:condition="slidepiece" src="" tal:attributes="src slidepiece/image_small/absolute_url | nothing"/> 
    5454 
    5555        <input id="piece-more_slides_button"  
Note: See TracChangeset for help on using the changeset viewer.