Subreports : corrects javascript syntax error

skala
Noel Dieschburg 14 years ago
parent dfb288cd21
commit 9c843c898a
  1. 4
      main/reports/index.php
  2. 4
      main/reports/reports.php

@ -209,8 +209,8 @@ foreach($reports_template as $key => $value)
$.ajax({
url: uri,
success: function(data) {
elem.closest('.result').nextAll().html('');
elem.closest('.result').next().html(data);
$(elem).closest('.result').nextAll().html('');
$(elem).closest('.result').next().html(data);
}
});
}

@ -58,8 +58,8 @@ if ($_REQUEST['format'] == 'directlink') {
$.ajax({
url: uri,
success: function(data) {
elem.closest('.result').nextAll().html('');
elem.closest('.result').next().html(data);
$(elem).closest('.result').nextAll().html('');
$(elem).closest('.result').next().html(data);
}
});
}

Loading…
Cancel
Save