Commit e4f3d668 by Damien Moulard

quick fix

parent 76c76f5d
...@@ -115,9 +115,13 @@ function showConfirmTransactionModal(div, form, montant, destinataire = null) { ...@@ -115,9 +115,13 @@ function showConfirmTransactionModal(div, form, montant, destinataire = null) {
form.submit() form.submit()
} }
}); });
$('#confirmTransactionModal #dismissTransactionButton').on('click', function(e){
$(form).data('submitted', false);
});
} }
jQuery(document).ready(function() { $(function() {
// Get the ul that holds the collection of groupes // Get the ul that holds the collection of groupes
$collectionHolder = $('.groupeprestas'); $collectionHolder = $('.groupeprestas');
...@@ -215,7 +219,7 @@ jQuery(document).ready(function() { ...@@ -215,7 +219,7 @@ jQuery(document).ready(function() {
$('form[name^=formVente]') $('form[name^=formVente]')
.add('form[name^=formRetrait]') .add('form[name^=formRetrait]')
.add('form[name=formTransfertPrestataireComptoir]') .add('form[name=formTransfertPrestataireComptoir]')
.submit(function (e) { .on('submit', function (e) {
// Stop form submition // Stop form submition
e.preventDefault(); e.preventDefault();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"app": { "app": {
"js": [ "js": [
"/build/runtime.420770e4.js", "/build/runtime.420770e4.js",
"/build/app.3161e6c1.js" "/build/app.bf48f0d2.js"
], ],
"css": [ "css": [
"/build/app.e9278f1f.css" "/build/app.e9278f1f.css"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"build/admin.css": "/build/admin.3589a647.css", "build/admin.css": "/build/admin.3589a647.css",
"build/admin.js": "/build/admin.21942bf0.js", "build/admin.js": "/build/admin.21942bf0.js",
"build/app.css": "/build/app.e9278f1f.css", "build/app.css": "/build/app.e9278f1f.css",
"build/app.js": "/build/app.3161e6c1.js", "build/app.js": "/build/app.bf48f0d2.js",
"build/runtime.js": "/build/runtime.420770e4.js", "build/runtime.js": "/build/runtime.420770e4.js",
"build/ckeditor/adapters/jquery.js": "/build/ckeditor/adapters/jquery.js", "build/ckeditor/adapters/jquery.js": "/build/ckeditor/adapters/jquery.js",
"build/ckeditor/ckeditor.js": "/build/ckeditor/ckeditor.js", "build/ckeditor/ckeditor.js": "/build/ckeditor/ckeditor.js",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<p>{{ 'Voulez-vous continuer ?'|trans }}</p> <p>{{ 'Voulez-vous continuer ?'|trans }}</p>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">{{ 'Annuler'|trans }}</button> <button type="button" class="btn btn-secondary" id="dismissTransactionButton" data-dismiss="modal">{{ 'Annuler'|trans }}</button>
<button type="button" class="btn btn-primary" id="confirmTransactionButton">{{ 'Confirmer'|trans }}</button> <button type="button" class="btn btn-primary" id="confirmTransactionButton">{{ 'Confirmer'|trans }}</button>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment