kopia lustrzana https://github.com/wagtail/wagtail
Merge 80603bca9e
into 196cb02d10
commit
dd79831aa1
|
@ -102,7 +102,9 @@ class InlinePanel(Panel):
|
|||
|
||||
# ditto for the ORDER field, if present
|
||||
if self.formset.can_order:
|
||||
subform.fields[ORDERING_FIELD_NAME].widget = forms.HiddenInput()
|
||||
subform.fields[ORDERING_FIELD_NAME].widget = forms.HiddenInput(
|
||||
attrs={"value": index + 1}
|
||||
)
|
||||
|
||||
self.children.append(
|
||||
self.child_edit_handler.get_bound_panel(
|
||||
|
|
Ładowanie…
Reference in New Issue