Fixed #2972: prepopulate_from now works with multiple slugs on the same field. Thanks, Archatas.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
0fd9f6ec6b
commit
212cb21baa
|
@ -177,8 +177,8 @@ def output_all(form_fields):
|
|||
output_all = register.simple_tag(output_all)
|
||||
|
||||
def auto_populated_field_script(auto_pop_fields, change = False):
|
||||
t = []
|
||||
for field in auto_pop_fields:
|
||||
t = []
|
||||
if change:
|
||||
t.append('document.getElementById("id_%s")._changed = true;' % field.name)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue