fix check for showing tabview icon
This commit is contained in:
parent
4a6d5abefc
commit
5ef0c35ca0
1 changed files with 5 additions and 1 deletions
|
@ -42,7 +42,6 @@ template = ViewPageTemplateFile('view_macros.pt')
|
||||||
|
|
||||||
class SurveyView(ConceptView):
|
class SurveyView(ConceptView):
|
||||||
|
|
||||||
tabview = 'index.html'
|
|
||||||
data = None
|
data = None
|
||||||
errors = None
|
errors = None
|
||||||
|
|
||||||
|
@ -51,6 +50,11 @@ class SurveyView(ConceptView):
|
||||||
self.registerDojo()
|
self.registerDojo()
|
||||||
return template.macros['survey']
|
return template.macros['survey']
|
||||||
|
|
||||||
|
@Lazy
|
||||||
|
def tabview(self):
|
||||||
|
if self.editable:
|
||||||
|
return 'index.html'
|
||||||
|
|
||||||
def results(self):
|
def results(self):
|
||||||
result = []
|
result = []
|
||||||
response = None
|
response = None
|
||||||
|
|
Loading…
Add table
Reference in a new issue