allow actions also in previous work items of a run

This commit is contained in:
Helmut Merz 2014-05-03 10:45:41 +02:00
parent 66bf217ee8
commit a306e11cec

View file

@ -1,5 +1,5 @@
#
# Copyright (c) 2012 Helmut Merz helmutm@cy55.de
# Copyright (c) 2014 Helmut Merz helmutm@cy55.de
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -151,8 +151,8 @@ class WorkItemDetails(TrackDetails):
target=self.object,
addParams=dict(id=self.track.__name__))
actions = [info, WorkItemStateAction(self)]
if self.isLastInRun and self.allowedToEditWorkItem:
#if self.allowedToEditWorkItem:
#if self.isLastInRun and self.allowedToEditWorkItem:
if self.allowedToEditWorkItem:
self.view.registerDojoDateWidget()
self.view.registerDojoNumberWidget()
self.view.registerDojoTextarea()