# Delete button on create groups page should start deactivated

**URL:** https://meta.discourse.org/t/delete-button-on-create-groups-page-should-start-deactivated/27154
**Category:** Bug
**Tags:** docker
**Created:** [April 3, 2015, 1:11pm UTC](https://meta.discourse.org/t/delete-button-on-create-groups-page-should-start-deactivated/27154 "2015-04-03T13:11:27Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![john\_mardlin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/john_mardlin/32/115622_2.png) [@john\_mardlin](https://meta.discourse.org/u/john_mardlin)
#### Post date: [April 3, 2015, 1:11pm UTC](https://meta.discourse.org/t/delete-button-on-create-groups-page-should-start-deactivated/27154/1 "2015-04-03T13:11:27Z")

</div>

At `admin/groups/custom/undefined`

![](https://global.discourse-cdn.com/meta/original/3X/6/8/68f3c068dbf8f4b6a6abeb21e3a28a41e1ce647c.png)

I’ve tried switching up the settings with no luck.

---

<div class="post-metadata">

### Author: ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)
#### Post date: [April 3, 2015, 1:30pm UTC](https://meta.discourse.org/t/delete-button-on-create-groups-page-should-start-deactivated/27154/2 "2015-04-03T13:30:06Z")

</div>

I can’t repro that on latest `tests-passed`…

---

<div class="post-metadata">

### Author: ![john\_mardlin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/john_mardlin/32/115622_2.png) [@john\_mardlin](https://meta.discourse.org/u/john_mardlin)
#### Post date: [April 3, 2015, 2:35pm UTC](https://meta.discourse.org/t/delete-button-on-create-groups-page-should-start-deactivated/27154/3 "2015-04-03T14:35:34Z")

</div>

Ahh, more specific actually.

1. go to admin/groups/custom/undefined
2. Click “+ new”
3. Name the group
4. Click Delete, then click No
5. The save button will be disabled

I think this is actually part of a broader issue that I’ve been experiencing. Will repro and describe in linked topic.

---

<div class="post-metadata">

### Author: ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)
#### Post date: [April 3, 2015, 2:48pm UTC](https://meta.discourse.org/t/delete-button-on-create-groups-page-should-start-deactivated/27154/4 "2015-04-03T14:48:22Z")

</div>

Now that’s more like it. 🙂

---

<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: [April 3, 2015, 2:51pm UTC](https://meta.discourse.org/t/delete-button-on-create-groups-page-should-start-deactivated/27154/5 "2015-04-03T14:51:26Z")

</div>

Thanks for reporting that issue @john_mardlin. I just pushed a fix 🐧

[https://github.com/discourse/discourse/commit/7a311312392526b5f0319d20599131c30a860f30](https://github.com/discourse/discourse/commit/7a311312392526b5f0319d20599131c30a860f30)

---

<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: [April 3, 2015, 2:51pm UTC](https://meta.discourse.org/t/delete-button-on-create-groups-page-should-start-deactivated/27154/6 "2015-04-03T14:51:29Z")

</div>



---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [April 3, 2015, 4:58pm UTC](https://meta.discourse.org/t/delete-button-on-create-groups-page-should-start-deactivated/27154/7 "2015-04-03T16:58:27Z")

</div>

`xhr.responseJSON` instead of `$.parseJSON(xhr.responseText)` ?
