Ignore:
Timestamp:
28.07.2010 22:02:07 (22 months ago)
Author:
zmsdev
Message:

Applied fix for abort of teaser-penetrance (reported by uni-cgn).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ZMS/trunk/import/zms.metaobj.xml

    r1125 r1127  
    36273627this = context.getSelf() 
    36283628for ob in obs: 
    3629   abort_penetrance = (ob != this and ob.meta_type == 'ZMSLinkElement') or ob.getObjProperty('attr_zmsteasercontainer_abort_penetrance',request) not in ['',0] 
     3629  abort_penetrance = ob != this and ob.meta_type == 'ZMSLinkElement' 
    36303630  if abort_penetrance: 
    36313631    break 
     
    36433643       ( penetrance in [2,'sub_all']): 
    36443644      teaserElmnts.insert( 0, teaserElmnt) 
     3645  abort_penetrance = ob.getObjProperty('attr_zmsteasercontainer_abort_penetrance',request) not in ['',0] 
     3646  if abort_penetrance: 
     3647    break 
    36453648teaserElmnts.reverse() 
    36463649return teaserElmnts 
Note: See TracChangeset for help on using the changeset viewer.