# When editing a category, clicking "edit description" redirects without saving

**URL:** https://meta.discourse.org/t/when-editing-a-category-clicking-edit-description-redirects-without-saving/111797
**Category:** UX
**Tags:** pr-welcome
**Created:** [16.Март.2019 16:25:55 UTC](https://meta.discourse.org/t/when-editing-a-category-clicking-edit-description-redirects-without-saving/111797 "2019-03-16T16:25:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![bts](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bts/32/184556_2.png) [@bts](https://meta.discourse.org/u/bts)
#### Post date: [16.Март.2019 16:25:55 UTC](https://meta.discourse.org/t/when-editing-a-category-clicking-edit-description-redirects-without-saving/111797/1 "2019-03-16T16:25:55Z")

</div>

I was editing a category and changed the name / slug. Then clicked the “Edit Description” button.

It wasn’t clear to me that this would redirect to a different page (the description topic); makes sense though I thought perhaps it would have some clever way of embedding an edit form just for that post.

That’s all fine _except_ it seems that category edits made before clicking that button (e.g. to the name / slug) are not saved. Might make sense to have some kind of confirmation modal to prompt saving any edits, before redirecting to the “edit description” topic.

(In my case, no biggie, takes two seconds to re-edit those things…but I can imagine being much more annoying if someone e.g. typed up a whole topic template, then clicked “edit description” before hitting save, and that got wiped out.)

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [16.Март.2019 16:33:08 UTC](https://meta.discourse.org/t/when-editing-a-category-clicking-edit-description-redirects-without-saving/111797/2 "2019-03-16T16:33:08Z")

</div>

The easiest solution might be to open the topic in a new tab.

---

<div class="post-metadata">

### Author: ![bts](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bts/32/184556_2.png) [@bts](https://meta.discourse.org/u/bts)
#### Post date: [16.Март.2019 16:51:08 UTC](https://meta.discourse.org/t/when-editing-a-category-clicking-edit-description-redirects-without-saving/111797/3 "2019-03-16T16:51:08Z")

</div>

Good call that definitely seems simplest and would totally fix any issue here!

---

<div class="post-metadata">

### Author: ![Dannii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dannii/32/129087_2.png) [@Dannii](https://meta.discourse.org/u/Dannii)
#### Post date: [17.Март.2019 08:30:33 UTC](https://meta.discourse.org/t/when-editing-a-category-clicking-edit-description-redirects-without-saving/111797/4 "2019-03-17T08:30:33Z")

</div>

Could it open the post using the popover edit box at the bottom without redirecting the page?

---

<div class="post-metadata">

### Author: ![venarius](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/venarius/32/133142_2.png) [@venarius](https://meta.discourse.org/u/venarius)
#### Post date: [17.Март.2019 15:21:27 UTC](https://meta.discourse.org/t/when-editing-a-category-clicking-edit-description-redirects-without-saving/111797/5 "2019-03-17T15:21:27Z")

</div>

Opened a PR 🙂

[https://github.com/discourse/discourse/pull/7192](https://github.com/discourse/discourse/pull/7192)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [18.Март.2019 15:18:39 UTC](https://meta.discourse.org/t/when-editing-a-category-clicking-edit-description-redirects-without-saving/111797/6 "2019-03-18T15:18:39Z")

</div>


