mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 17:15:32 +08: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. |
||
---|---|---|
.. | ||
fonts | ||
images | ||
javascripts | ||
stylesheets |