Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit 7d2cce23 authored by Janez K's avatar Janez K
Browse files

fix for scrolleft and scrolltop

parent a81b2bc6
......@@ -95,8 +95,8 @@ def add_widget(request):
if (workflow.user==request.user):
w = Widget()
w.workflow = workflow
w.x = int(request.POST['scrollLeft'])+50
y = int(request.POST['scrollTop'])+50
w.x = int(request.POST['scrollLeft'].split(".")[0])+50
y = int(request.POST['scrollTop'].split(".")[0])+50
while workflow.widgets.filter(y=y,x=w.x).count()>0:
y = y + 100
w.y = y
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment