Page MenuHomePhabricator

Specifying submit action won't actually load gadgets on action=submit
Closed, DeclinedPublicBUG REPORT

Description

List of steps to reproduce:

  • Specify actions=view,submit for a gadget in definitions

What happens?:
The gadget only loads on action=view.

What should happen instead?:
It should load on action=submit too.

Event Timeline

What is the usecase for specifying action=submit? If you're trying to target just the preview screens, note that if users have Live preview enabled, the previews are also displayed on the action=edit page. It's better to specify edit which loads the gadget on both edit and submit actions.

Not sure about the usecase, but either submit should be equivalent to edit or it should load gadgets on action=submit only. Right now it's just being ignored unless edit is specified too.

This comment was removed by Gustmd7410.

I don't think there's any use case for this.