mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 21:15:41 +00:00
Allow custom code to be run on form submission
This commit is contained in:
@ -136,6 +136,9 @@ function adjustStock(items, options={}) {
|
||||
preFormContent: html,
|
||||
confirm: true,
|
||||
modal: modal,
|
||||
onSubmit: function(fields, options) {
|
||||
console.log("submit!");
|
||||
}
|
||||
});
|
||||
|
||||
// Attach callbacks for the action buttons
|
||||
|
Reference in New Issue
Block a user