2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-06 01:33:35 +00:00

Bug fix - secondary modals not working correctly

This commit is contained in:
Oliver Walters
2019-09-27 21:00:27 +10:00
parent bed2cec5e7
commit ab25a199ce
+1 -1
View File
@@ -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()