forked from Wavyzz/dolibarr
NEW: formconfirm in javascript
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user