Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Arthur Boutin
HearingNode
Commits
79cbd917
Commit
79cbd917
authored
5 years ago
by
Arthur
Browse files
Options
Download
Patches
Plain Diff
modification controller questionnaire
parent
7d2cf648
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
questionnaire/Questionnaire.js
+2
-2
questionnaire/Questionnaire.js
with
2 additions
and
2 deletions
+2
-2
questionnaire/Questionnaire.js
+
2
−
2
View file @
79cbd917
...
...
@@ -6,8 +6,8 @@ var Questionnaire = {
return
db
.
query
(
'
SELECT * from questionnaire
'
,
callback
);
},
createquestionnaire
:
function
(
Questionnaire
,
callback
)
{
return
db
.
query
(
'
Insert into questionnaire(id_societe, themes,
questions,
id_pointvente) values(?, ?,
?,
?)
'
,
[
Questionnaire
.
id_societe
,
Questionnaire
.
themes
,
Questionnaire
.
questions
,
Questionnaire
.
id_pointvente
],
callback
);
return
db
.
query
(
'
Insert into questionnaire(id_societe, themes, id_pointvente) values(?, ?, ?)
'
,
[
Questionnaire
.
id_societe
,
Questionnaire
.
themes
,
Questionnaire
.
id_pointvente
],
callback
);
},
getquestionnaire
:
function
(
id
,
callback
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets