Skip to content

Commit

Permalink
Merge pull request #40 from Matteo-Peronnet/fix-position-edit-form
Browse files Browse the repository at this point in the history
BugFix Set position to the valid questionHolder with Quantum
  • Loading branch information
alexislefebvre authored Aug 13, 2018
2 parents 17d8e04 + c494281 commit 41774de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/new.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
function setPosition()
{
questionHolder.find('li.question').each(function() {
questionHolder{{ quantum }}.find('li.question').each(function() {
$vic(this).find('.question-position').val($vic('li.question').index($vic(this)));
});
}
Expand Down

0 comments on commit 41774de

Please sign in to comment.