Skip to content
Permalink
Browse files

Merge pull request #379 from tpokorra/TP-201908-fixes

Tp 201908 fixes
  • Loading branch information...
tpokorra committed Sep 5, 2019
2 parents dbe6ba6 + d0a66d8 commit 39f29220746c4a72525676448a34c76651334f3e
Showing with 10 additions and 4 deletions.
  1. +0 −2 README.md
  2. +10 −2 js-client/src/forms/Finance/Gift/GiftEntry/GiftBatches.js
@@ -7,8 +7,6 @@ The goal of OpenPetra is to provide an easy to use software system for the admin

To find out more about OpenPetra, please visit the webpage [www.openpetra.org](http://www.openpetra.org)

The code for the Javascript client is in a separate repository, at [github.com/openpetra/openpetra-client-js](https://github.com/openpetra/openpetra-client-js).

DEVELOPMENT SETUP
-----------------

@@ -337,8 +337,16 @@ function save_edit_trans(obj_modal) {
parsed = JSON.parse(result.data.d);
if (parsed.result == true) {
display_message(i18next.t('forms.saved'), "success");
$('#modal_space .modal').modal('hide');
updateBatch(payload['ABatchNumber']);
if (mode=="edit") {
$('#modal_space .modal').modal('hide');
updateBatch(payload['ABatchNumber']);
} else if (mode=="create") {
// switch to edit mode
updateBatch(payload['ABatchNumber']);
p = $('#modal_space .modal');
p.find('[edit-only]').show();
p.find('[action]').val('edit');
}
}
else if (parsed.result == false) {
display_error(parsed.AVerificationResult);

0 comments on commit 39f2922

Please sign in to comment.
You can’t perform that action at this time.