From: Florent Bruneau Date: Sun, 30 Jan 2011 14:45:16 +0000 (+0100) Subject: Improves usability. X-Git-Tag: xorg/1.1.0~165 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=22575ff42017b686d4981d79805439fcb9a8fff7;p=platal.git Improves usability. Signed-off-by: Florent Bruneau --- diff --git a/htdocs/javascript/survey.js b/htdocs/javascript/survey.js index 80614a9..19adaa7 100644 --- a/htdocs/javascript/survey.js +++ b/htdocs/javascript/survey.js @@ -170,7 +170,7 @@ }); if (type.val()) { question.children('.q_edit_form') - .bindQuestion(type.val(), q.qid, q.parameters) + .bindQuestion(type.val(), q.qid, q) } this.childrenContainer().children('.add_question').before(question); $.renumberQuestions(); diff --git a/templates/survey/edit.questions.tpl b/templates/survey/edit.questions.tpl index 866607b..0c3fba9 100644 --- a/templates/survey/edit.questions.tpl +++ b/templates/survey/edit.questions.tpl @@ -94,8 +94,8 @@
Ajouter une case Autre ?
diff --git a/templates/survey/vote.questions.tpl b/templates/survey/vote.questions.tpl index 0a1f74e..e8ca444 100644 --- a/templates/survey/vote.questions.tpl +++ b/templates/survey/vote.questions.tpl @@ -53,13 +53,15 @@ - - {/literal} {* vim:set et sw=2 sts=2 ts=8 enc=utf-8: *}