Donate keyboard focus when creating a secondary modal
This commit is contained in:
parent
21f2dd5896
commit
3c328feb65
|
|
@ -1424,6 +1424,11 @@ function addSecondaryModal(field, fields, options) {
|
|||
};
|
||||
}
|
||||
|
||||
// Relinquish keyboard focus for this modal
|
||||
$(options.modal).modal({
|
||||
keyboard: false,
|
||||
});
|
||||
|
||||
// Method should be "POST" for creation
|
||||
secondary.method = secondary.method || 'POST';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue