# Delete topic doesn't work

**URL:** https://meta.discourse.org/t/delete-topic-doesnt-work/46101
**Category:** Bug
**Created:** [June 21, 2016, 5:42am UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101 "2016-06-21T05:42:25Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Idan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/idan/32/198212_2.png) [@Idan](https://meta.discourse.org/u/Idan)
#### Post date: [June 21, 2016, 5:42am UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101/1 "2016-06-21T05:42:25Z")

</div>

I click the wrench icon and choose ‘Delete Topic’.

The invite button is grayed out, but the topic is not removed. I go back to the main page and I can still see it. I hard refresh the page and the topic is still there.

I checked the console, and there are no errors. I am also the admin of the site and the one who wrote the question. I assume if there was a permission issue, I would have seen a notification or the delete button shouldn’t be there in the first place.

Am I missing something?

---

<div class="post-metadata">

### Author: ![Idan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/idan/32/198212_2.png) [@Idan](https://meta.discourse.org/u/Idan)
#### Post date: [June 21, 2016, 5:49am UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101/2 "2016-06-21T05:49:02Z")

</div>

After a few minutes I refreshed and the topic deleted. Is it cached?

---

<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: [June 21, 2016, 8:26am UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101/3 "2016-06-21T08:26:22Z")

</div>

Did you get any errors in the JavaScript console of your browser when you first deleted the topic?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 21, 2016, 9:24am UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101/4 "2016-06-21T09:24:03Z")

</div>

This is a UI issue – I get the same thing when deleting topics here on meta. The UI doesn’t display the delete, e.g. make the background of the first post the light red deleted color, etc. But it’s there.

I don’t think we’ve bothered to improve it since it’s a cosmetic issue only.

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [June 21, 2016, 11:52am UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101/5 "2016-06-21T11:52:55Z")

</div>

I can also reproduce this; it’s quite irritating if you don’t know this behavior already.

---

<div class="post-metadata">

### Author: ![Idan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/idan/32/198212_2.png) [@Idan](https://meta.discourse.org/u/Idan)
#### Post date: [June 21, 2016, 12:15pm UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101/6 "2016-06-21T12:15:49Z")

</div>

No errors in the console

---

<div class="post-metadata">

### Author: ![Idan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/idan/32/198212_2.png) [@Idan](https://meta.discourse.org/u/Idan)
#### Post date: [June 21, 2016, 12:17pm UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101/7 "2016-06-21T12:17:51Z")

</div>

“cosmetic issue” , it’s UI feedback Jeff, it’s very important, for me it was very annoying not understanding not getting a feedback on a UI command.

---

<div class="post-metadata">

### Author: ![julopes](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/julopes/32/121677_2.png) [@julopes](https://meta.discourse.org/u/julopes)
#### Post date: [June 21, 2016, 3:39pm UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101/8 "2016-06-21T15:39:50Z")

</div>

The same is occurring in my community.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 21, 2016, 7:13pm UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101/9 "2016-06-21T19:13:15Z")

</div>

Sure @eviltrout can you have a look, this has been around a long time, and we should fix the UI here.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 22, 2016, 12:36am UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101/10 "2016-06-22T00:36:04Z")

</div>

Confirmed issue here, I think I know how to fix it …

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 22, 2016, 7:31am UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101/11 "2016-06-22T07:31:07Z")

</div>

Fixed per:

[https://github.com/discourse/discourse/commit/6e4ff45e4419096ebbe47101528acaee1e76098a](https://github.com/discourse/discourse/commit/6e4ff45e4419096ebbe47101528acaee1e76098a)

---

<div class="post-metadata">

### Author: ![Idan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/idan/32/198212_2.png) [@Idan](https://meta.discourse.org/u/Idan)
#### Post date: [June 22, 2016, 11:25am UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101/12 "2016-06-22T11:25:18Z")

</div>

Thanks fo fixing this!

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 23, 2016, 7:31am UTC](https://meta.discourse.org/t/delete-topic-doesnt-work/46101/13 "2016-06-23T07:31:18Z")

</div>

This topic was automatically closed after 24 hours. New replies are no longer allowed.
