mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Include a handler for 'option' fields
This commit is contained in:
parent
aae107b238
commit
484fa1d265
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,9 @@ function jtable_respond($records, $method = 'multiple', $msg = 'Undefined errorm
|
|||
$jTableResult['Record'] = $records;
|
||||
} elseif ($method == 'delete') {
|
||||
$jTableResult['Result'] = "OK";
|
||||
} elseif ($method == 'options') {
|
||||
$jTableResult['Result'] = "OK";
|
||||
$jTableResult['Options'] = $records;
|
||||
} else {
|
||||
if (isset($_GET['jtPageSize'])) {
|
||||
$jTableResult['TotalRecordCount'] = count($records);
|
||||
|
|
Loading…
Add table
Reference in a new issue