2
0
forked from Wavyzz/dolibarr

NEW: formconfirm in javascript

This commit is contained in:
Marc de Lima Lucio
2018-03-23 16:54:33 +01:00
parent 5c46d62acd
commit 50790d5527
3 changed files with 114 additions and 51 deletions

View File

@@ -1090,4 +1090,13 @@ $(document).ready(function() {
});
<?php } ?>
$(document).ready(function() {
$(document).on('click', 'a.butActionFormConfirm', function() {
var action = $(this).data('action-confirm');
$('#dialog-confirm-'+action).dialog('open');
return false;
});
});
// End of lib_head.js.php