Fixed the javascript code that uses the history reservate word
This commit is contained in:
parent
ace7ea15c8
commit
a3939687ed
|
@ -731,7 +731,7 @@ $(document).ready( function() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
meta = $('#hidden-meta').val();
|
meta = $('#hidden-meta').val();
|
||||||
history = $('#hidden-history').val();
|
history_var = $('#hidden-history').val();
|
||||||
|
|
||||||
$tr = $(this).parents ("tr");
|
$tr = $(this).parents ("tr");
|
||||||
id = this.id.split ("-").pop ();
|
id = this.id.split ("-").pop ();
|
||||||
|
@ -744,7 +744,7 @@ $(document).ready( function() {
|
||||||
"id" : id,
|
"id" : id,
|
||||||
"similars" : <?php echo ($group_rep ? 1 : 0) ?>,
|
"similars" : <?php echo ($group_rep ? 1 : 0) ?>,
|
||||||
"meta" : meta,
|
"meta" : meta,
|
||||||
"history" : history
|
"history" : history_var
|
||||||
},
|
},
|
||||||
function (data, status) {
|
function (data, status) {
|
||||||
if (data == "ok") {
|
if (data == "ok") {
|
||||||
|
@ -795,7 +795,7 @@ function validate_event_advanced(id, new_status) {
|
||||||
var similar_ids;
|
var similar_ids;
|
||||||
similar_ids = $('#hidden-similar_ids_'+id).val();
|
similar_ids = $('#hidden-similar_ids_'+id).val();
|
||||||
meta = $('#hidden-meta').val();
|
meta = $('#hidden-meta').val();
|
||||||
var history = $('#hidden-history').val();
|
var history_var = $('#hidden-history').val();
|
||||||
|
|
||||||
$("#status_img_"+id).attr ("src", "images/spinner.gif");
|
$("#status_img_"+id).attr ("src", "images/spinner.gif");
|
||||||
|
|
||||||
|
@ -805,7 +805,7 @@ function validate_event_advanced(id, new_status) {
|
||||||
"event_ids" : similar_ids,
|
"event_ids" : similar_ids,
|
||||||
"new_status" : new_status,
|
"new_status" : new_status,
|
||||||
"meta" : meta,
|
"meta" : meta,
|
||||||
"history" : history
|
"history" : history_var
|
||||||
},
|
},
|
||||||
function (data, status) {
|
function (data, status) {
|
||||||
if (data == "status_ok") {
|
if (data == "status_ok") {
|
||||||
|
|
Loading…
Reference in New Issue