cleanup of passed parameters, user_id and user_type are extracted from current user and not used from the passed POST values..

This commit is contained in:
Ralf Teusner
2015-08-19 15:35:25 +02:00
parent e520914385
commit dc0b3a2294
3 changed files with 3 additions and 5 deletions

View File

@ -510,7 +510,6 @@ $(function() {
var jqxhr = $.ajax({
data: {
comment: {
user_id: user_id,
file_id: file_id,
row: row,
column: 0,
@ -1014,7 +1013,6 @@ $(function() {
url: '/request_for_comments',
data: {
request_for_comment: {
requestor_user_id: user_id,
exercise_id: exercise_id,
file_id: file_id,
"requested_at(1i)": 2015, // these are the timestamp values that the request handler demands