Edit any normal field value and press Enter
It will run the first django inline action rather than save the form
I believe this is due to how input type "submit" works. It's before the save button (Unless I'm missing something?)
ideas:
- Instead of using a button / form at all, Link to an action URL with a GET param of the object ID, redirect back to the model page with a notification message
- Render buttons
type="button" and have an onClick() handler:
|
'<input type="submit" name="{}" value="{}" class="{}">'.format( |
- Find a way to move the
submit-row higher in HTML (but visually keep it at the button of the page)
Edit any normal field value and press Enter
It will run the first django inline action rather than save the form
I believe this is due to how
input type "submit"works. It's before the save button (Unless I'm missing something?)ideas:
type="button"and have anonClick()handler:django-inline-actions/inline_actions/admin.py
Line 120 in d024413
submit-rowhigher in HTML (but visually keep it at the button of the page)