mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
doc for option.buttons
This commit is contained in:
parent
96c29847e1
commit
c74ee4e925
@ -851,6 +851,7 @@ function launchModalForm(url, options = {}) {
|
|||||||
* secondary - List of secondary modals to attach
|
* secondary - List of secondary modals to attach
|
||||||
* callback - List of callback functions to attach to inputs
|
* callback - List of callback functions to attach to inputs
|
||||||
* focus - Select which field to focus on by default
|
* 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';
|
var modal = options.modal || '#modal-form';
|
||||||
|
Loading…
Reference in New Issue
Block a user