mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Always load the master and slave zones
This commit is contained in:
parent
ee0729e6c0
commit
f047f60712
2 changed files with 3 additions and 3 deletions
|
@ -112,7 +112,7 @@ function jtable_respond($records, $method = 'multiple', $msg = 'Undefined errorm
|
|||
} else {
|
||||
if (isset($_GET['jtPageSize'])) {
|
||||
$jTableResult['TotalRecordCount'] = count($records);
|
||||
$records = array_slice($records, $_GET['jtStartIndex']-1, $_GET['jtPageSize']);
|
||||
$records = array_slice($records, $_GET['jtStartIndex'], $_GET['jtPageSize']);
|
||||
}
|
||||
$jTableResult['Result'] = "OK";
|
||||
$jTableResult['Records'] = $records;
|
||||
|
|
|
@ -559,10 +559,10 @@ $(document).ready(function () {
|
|||
$("#SlaveZones").jtable('reload');
|
||||
}
|
||||
});
|
||||
$('#MasterZones').jtable('load');
|
||||
$('#SlaveZones').jtable('load');
|
||||
$('#Users').jtable('load');
|
||||
<? } ?>
|
||||
$('#MasterZones').jtable('load');
|
||||
$('#SlaveZones').jtable('load');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Reference in a new issue