Ignore:
Timestamp:
5 Apr 2010, 13:10:41 (15 years ago)
Author:
uli
Message:

Tell if no batch was selected while trying to delete or archive a
batch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.py

    r5120 r5124  
    2626
    2727    def update(self, batches=None, archive=None, delete=None):
    28         if batches is None:
     28        if archive is None and delete is None:
    2929            return
    30         if archive is None and delete is None:
     30        if not batches:
     31            self.flash('No batch selected.')
    3132            return
    3233        if isinstance(batches, basestring):
Note: See TracChangeset for help on using the changeset viewer.