OpenSlides / openslides-voting

Voting plugin for OpenSlides 2.x
MIT License
5 stars 4 forks source link

New ballot does not open modal dialog #64

Closed jwinzer closed 6 years ago

jwinzer commented 6 years ago

When you click image and select "VoteCollector" as Type you get a JavaScript error and the modal dialog does not open.

image

FinnStutzenstein commented 6 years ago

Same here: Do you want to do this, or shall I?

jwinzer commented 6 years ago

Please assign to yourself.

FinnStutzenstein commented 6 years ago

I cannot recreate this. Do you can?

jwinzer commented 6 years ago

This always happens to me.

FinnStutzenstein commented 6 years ago

This site.js is in OpenSlides. I cannot debug this, because this doesn't happen. Can you put before this line these both statements:

console.log(assignmentpollId);
console.log(AssignmentPoll.get(assignmentpollId));

Maybe, the first one is undefined, so the second one, too. If yes, we need to investigate, why it's undefined.