removed unnecessary stuff in Ajax
This commit is contained in:
@ -610,8 +610,6 @@ configureEditors: function () {
|
|||||||
$('#intervention-modal').modal('show');
|
$('#intervention-modal').modal('show');
|
||||||
$.ajax({
|
$.ajax({
|
||||||
data: {
|
data: {
|
||||||
exercise_id: $('#editor').data('exercise-id'),
|
|
||||||
user_id: $('#editor').data('user-id'),
|
|
||||||
intervention_type: 'BreakIntervention'
|
intervention_type: 'BreakIntervention'
|
||||||
},
|
},
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
@ -624,8 +622,6 @@ configureEditors: function () {
|
|||||||
$('#intervention-modal').modal('show');
|
$('#intervention-modal').modal('show');
|
||||||
$.ajax({
|
$.ajax({
|
||||||
data: {
|
data: {
|
||||||
exercise_id: $('#editor').data('exercise-id'),
|
|
||||||
user_id: $('#editor').data('user-id'),
|
|
||||||
intervention_type: 'QuestionIntervention'
|
intervention_type: 'QuestionIntervention'
|
||||||
},
|
},
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
|
Reference in New Issue
Block a user