From c74ee4e9251239a737d6f8c265febbc9f8a4e6bb Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 17 Jun 2021 19:24:08 +0200 Subject: [PATCH] doc for option.buttons --- InvenTree/templates/js/modals.js | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/templates/js/modals.js b/InvenTree/templates/js/modals.js index 7ac19ec4ce..03893a47b8 100644 --- a/InvenTree/templates/js/modals.js +++ b/InvenTree/templates/js/modals.js @@ -851,6 +851,7 @@ function launchModalForm(url, options = {}) { * secondary - List of secondary modals to attach * callback - List of callback functions to attach to inputs * focus - Select which field to focus on by default + * buttons - additional buttons that should be added as array with [name, title] */ var modal = options.modal || '#modal-form';