Private
Public Access
1
0

loads thumbnails asynchronously

loads thumbnails on workflow view asynchronously using jQuery and Ajax
This commit is contained in:
Sander Roosendaal
2017-11-04 20:28:58 +01:00
parent 80f4ca585b
commit 7fd17fb3b4
2 changed files with 30 additions and 7 deletions

View File

@@ -6675,10 +6675,10 @@ def workout_workflow_view(request,id):
charts = []
if favorites and 'flexthumbnails.html' in r.workflowmiddlepanel:
charts = thumbnails_set(r,id,favorites)
if charts[0]['script'] == '':
charts = []
# if favorites and 'flexthumbnails.html' in r.workflowmiddlepanel:
# charts = thumbnails_set(r,id,favorites)
# if charts[0]['script'] == '':
# charts = []
if 'panel_map.html' in r.workflowmiddlepanel and rowhascoordinates(row):
rowdata = rdata(row.csvfilename)