mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-04 01:15:20 +00:00
Bug fix - secondary modals not working correctly
This commit is contained in:
1 parent
bed2cec5e7
commit
ab25a199ce
1 file changed
+1
-1
@@ -282,7 +282,7 @@ class AjaxCreateView(AjaxMixin, CreateView):
|
||||
|
||||
# Return the PK of the newly-created object
|
||||
data['pk'] = self.object.pk
|
||||
data['text'] = str(object)
|
||||
data['text'] = str(self.object)
|
||||
|
||||
try:
|
||||
data['url'] = self.object.get_absolute_url()
|
||||
|
||||
Reference in new issue
Block a user