Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
4c7da227
Commit
4c7da227
authored
Jan 05, 2012
by
Piotr Mitros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Feedback button works
parent
3c95aabb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
main.html
+16
-3
No files found.
main.html
View file @
4c7da227
...
...
@@ -52,10 +52,23 @@ ${self.body()}
<div
style=
"display:none"
><div
id=
"feedback_div"
>
Found a bug? Got an
idea for improving our system? Please give us your feedback.
<br>
Subject:
<br><input
size=
40
>
<br>
Feedback:
<br><textarea
cols=
"40"
rows=
"5"
>
<br>
Subject:
<br><input
id=
"feedback_subject"
size=
40
>
<br>
Feedback:
<br><textarea
id=
"feedback_message"
cols=
"40"
rows=
"5"
>
</textarea>
<br>
<input
type=
"submit"
>
<br>
<input
id=
"feedback_button"
type=
"button"
value=
"Submit"
>
<script>
$
(
function
()
{
$
(
"#feedback_button"
).
click
(
function
(){
postJSON
(
"/send_feedback"
,
{
"subject"
:
$
(
"#feedback_subject"
).
attr
(
"value"
),
"url"
:
document
.
URL
,
"message"
:
$
(
"#feedback_message"
).
attr
(
"value"
)},
function
(
data
){
$
(
"#feedback_subject"
).
attr
(
"value"
,
""
)
$
(
"#feedback_message"
).
attr
(
"value"
,
""
)
});
});
});
</script>
</div></div>
<div
style=
"display:none"
><div
id=
"calculator_div"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment