mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Part image delete (#3963)
* Add button to remove an associated image from a part - Also fixes some issues with onclick event propagation * Similar feature for company image
This commit is contained in:
		| @@ -621,11 +621,11 @@ function showQuestionDialog(title, content, options={}) { | ||||
|      *   cancel - Functino to run if the user presses 'Cancel' | ||||
|      */ | ||||
|  | ||||
|     var modal = createNewModal({ | ||||
|         title: title, | ||||
|         submitText: options.accept_text || '{% trans "Accept" %}', | ||||
|         closeText: options.cancel_text || '{% trans "Cancel" %}', | ||||
|     }); | ||||
|     options.title = title; | ||||
|     options.submitText = options.accept_text || '{% trans "Accept" %}'; | ||||
|     options.closeText = options.cancel_text || '{% trans "Cancel" %}'; | ||||
|  | ||||
|     var modal = createNewModal(options); | ||||
|  | ||||
|     modalSetContent(modal, content); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user