fix
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<h4 class="card-title">Add New Note</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form class="form">
|
||||
<form class="form" id="noteForm">
|
||||
<input type="hidden" id='member_id' name='member_id' value="<?= $_SESSION["member_id"] ?>" />
|
||||
<input type="hidden" id='page_id' name='page_id' value="<?= $page_id ?>" />
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
var posting = $.post(url, post_data);
|
||||
// Put the results in a div
|
||||
posting.done(function (data) {
|
||||
document.getElementById("noteForm").reset();
|
||||
$('#save_detail').html(data);
|
||||
$('#pagebt').prop('disabled', false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user