mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 19:15:41 +00:00
More cleanup for modal forms
- Require 'ajax_template_name' to be set or weird things happen!
This commit is contained in:
@ -82,7 +82,7 @@ class StockItemEdit(AjaxUpdateView):
|
||||
form_class = EditStockItemForm
|
||||
template_name = 'stock/item_edit.html'
|
||||
context_object_name = 'item'
|
||||
ajax_template_name = 'modal_form.html'
|
||||
#ajax_template_name = 'modal_form.html'
|
||||
ajax_form_title = 'Edit Stock Item'
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user