mirror of https://github.com/MISP/MISP
fix: [UI] Galaxy pagination
parent
ab1808a1ed
commit
6149d6e611
|
@ -15,7 +15,7 @@
|
|||
}
|
||||
?>
|
||||
|
||||
<div class='view'>
|
||||
<div class="view">
|
||||
<div class="row-fluid">
|
||||
<div class="span8">
|
||||
<h2>
|
||||
|
@ -26,7 +26,7 @@
|
|||
<?php echo $kco; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div id="clusters_div"></div>
|
||||
<div id="clusters_content"></div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
@ -45,7 +45,7 @@ $(function () {
|
|||
}
|
||||
?>
|
||||
$.get("<?php echo h($uri);?>", function(data) {
|
||||
$("#clusters_div").html(data);
|
||||
$("#clusters_content").html(data);
|
||||
}).fail(xhrFailCallback);
|
||||
|
||||
var $kco = $('#killChainOrder');
|
||||
|
|
|
@ -5,10 +5,8 @@
|
|||
}
|
||||
}
|
||||
echo $this->element('/genericElements/IndexTable/index_table', array(
|
||||
'containerId' => 'clusters',
|
||||
'data' => array(
|
||||
'paginatorOptions' => array(
|
||||
'update' => '#clusters_div',
|
||||
),
|
||||
'data' => $list,
|
||||
'top_bar' => array(
|
||||
'children' => array(
|
||||
|
@ -316,7 +314,7 @@
|
|||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$(function(){
|
||||
var passedArgsArray = <?php echo $passedArgs; ?>;
|
||||
var galaxyId = "<?php echo h($galaxy_id); ?>";
|
||||
if (passedArgsArray['context'] === undefined || passedArgsArray['context'] === "") {
|
||||
|
@ -327,4 +325,3 @@
|
|||
});
|
||||
});
|
||||
</script>
|
||||
<?php echo $this->Js->writeBuffer(); ?>
|
||||
|
|
Loading…
Reference in New Issue