Ajout barre de progression de l’upload du fichier courant.
[Plinn.git] / skins / control / topic_delete_criteria_control.py
1 ##parameters=criterion_ids=[], **kw
2
3 if criterion_ids :
4 for cid in criterion_ids :
5 context.deleteCriterion(cid)
6 if len(criterion_ids) > 1 :
7 return context.setStatus(True, 'Criteria deleted.')
8 else :
9 return context.setStatus(True, 'Criterion deleted.')
10 else :
11 return context.setStatus(False, 'Please select one ore more criteria first.')