summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ishtar_common/widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py
index d19b73b94..157151413 100644
--- a/ishtar_common/widgets.py
+++ b/ishtar_common/widgets.py
@@ -214,7 +214,7 @@ class JQueryJqGrid(forms.RadioSelect):
name, unicode(_("Search")))
if self.new:
model_name = self.associated_model._meta.object_name.lower()
- url_new = reverse('new-' + model_name)
+ url_new = reverse('new-' + model_name, args=['0'])
rendered += u'<p><a href="#" onclick="open_window(\'%s\');">'\
u'%s</a></p>' % (url_new, unicode(self.new_message))
rendered += "\n<h4>%s</h4>\n" % unicode(_("Search and select an item"))