mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	Donate keyboard focus when creating a secondary modal
This commit is contained in:
		| @@ -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'; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user