Stability Schooltype
This commit is contained in:
@@ -40,7 +40,7 @@ var data = <?php echo json_encode($data); ?>;
|
||||
//console.log(JSON.stringify({data: hot.getData()}));
|
||||
$.ajax({
|
||||
//url: "editajax?id=<?php echo $budget['id']; ?>",
|
||||
url: "<?php echo $this->Url->build(array('controller' => 'budget', 'action' => 'editajax',$budget['id']), true); ?>",
|
||||
url: "<?php echo $this->Url->build(array('controller' => 'budget', 'action' => 'editajax'), true) . '?budget=' . $budget['id'] . '&schooltype=' . $schooltype ?>",
|
||||
data: JSON.stringify(hot.getData()),
|
||||
type: 'POST',
|
||||
success: function (res) {
|
||||
|
||||
Reference in New Issue
Block a user