mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
87725206cd
When adding a new group, if Delete was clicked before saving the group, the modal would come up, but the Yes confirmation would do nothing. This fixes that by taking an approach similar to the Badges and checks to see if the Group is new, and if it is, just returns to the index instead of invoking the confirm modal. This also fixes the redirect after saving a new Group. |
||
---|---|---|
.. | ||
adapters | ||
components | ||
controllers | ||
helpers | ||
models | ||
routes | ||
templates | ||
views |