{"action":"closed","issue":{"url":"https://api.github.com/repos/wagtail/wagtail/issues/3529","repository_url":"https://api.github.com/repos/wagtail/wagtail","labels_url":"https://api.github.com/repos/wagtail/wagtail/issues/3529/labels{/name}","comments_url":"https://api.github.com/repos/wagtail/wagtail/issues/3529/comments","events_url":"https://api.github.com/repos/wagtail/wagtail/issues/3529/events","html_url":"https://github.com/wagtail/wagtail/issues/3529","id":220401694,"number":3529,"title":"Choose snippet button does not work on Firefox ESR 45","user":{"login":"nikaro","id":3918653,"avatar_url":"https://avatars0.githubusercontent.com/u/3918653?v=3","gravatar_id":"","url":"https://api.github.com/users/nikaro","html_url":"https://github.com/nikaro","followers_url":"https://api.github.com/users/nikaro/followers","following_url":"https://api.github.com/users/nikaro/following{/other_user}","gists_url":"https://api.github.com/users/nikaro/gists{/gist_id}","starred_url":"https://api.github.com/users/nikaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikaro/subscriptions","organizations_url":"https://api.github.com/users/nikaro/orgs","repos_url":"https://api.github.com/users/nikaro/repos","events_url":"https://api.github.com/users/nikaro/events{/privacy}","received_events_url":"https://api.github.com/users/nikaro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-08T14:04:20Z","updated_at":"2017-04-09T09:35:17Z","closed_at":"2017-04-09T09:35:17Z","body":"### Issue Summary\r\n\r\nChoose snippet button does nothing.\r\n\r\nChrome : :white_check_mark:  \r\nFirefox ESR 45: :red_circle: \r\nFirefox 52: ?\r\n\r\n### Steps to Reproduce\r\n\r\n```python\r\nfrom django.db import models\r\nfrom django.utils.translation import ugettext_lazy as _\r\nfrom modelcluster.fields import ParentalKey\r\nfrom wagtail.wagtailadmin.edit_handlers import FieldPanel, InlinePanel\r\nfrom wagtail.wagtailcore.fields import RichTextField\r\nfrom wagtail.wagtailcore.models import Orderable, Page\r\nfrom wagtail.wagtailimages.edit_handlers import ImageChooserPanel\r\nfrom wagtail.wagtailsnippets.edit_handlers import SnippetChooserPanel\r\nfrom wagtail.wagtailsnippets.models import register_snippet\r\n\r\n\r\nclass HomePage(Page):\r\n    \"\"\"Index.\"\"\"\r\n\r\n    subtitle = models.CharField(_('subtitle'), max_length=255)\r\n\r\n    content_panels = Page.content_panels + [\r\n        FieldPanel('subtitle', classname='full'),\r\n        InlinePanel('advert_placements', label=_(\"Adverts\")),\r\n    ]\r\n\r\n    template = 'solid-state/index.html'\r\n\r\n\r\nclass HomePageAdvertPlacement(Orderable, models.Model):\r\n    \"\"\"Advert placement.\"\"\"\r\n\r\n    page = ParentalKey('home.HomePage', related_name='advert_placements')\r\n    advert = models.ForeignKey(\r\n        'home.Advert',\r\n        blank=True,\r\n        related_name='+',\r\n    )\r\n\r\n    panels = [\r\n        SnippetChooserPanel('advert'),\r\n    ]\r\n\r\n    def __str__(self):\r\n        \"\"\"Default.\"\"\"\r\n        return self.page.title + \" -> \" + self.advert.title\r\n\r\n    class Meta:\r\n        \"\"\"Meta.\"\"\"\r\n\r\n        verbose_name = _(\"advert placement\")\r\n        verbose_name_plural = _(\"advert placements\")\r\n\r\n\r\n@register_snippet\r\nclass Advert(models.Model):\r\n    \"\"\"Advert.\"\"\"\r\n\r\n    title = models.CharField(_('title'), max_length=255)\r\n    content = RichTextField(_('content'))\r\n    image = models.ForeignKey(\r\n        'wagtailimages.Image',\r\n        on_delete=models.PROTECT,\r\n        related_name='+',\r\n        verbose_name=_('image'),\r\n        help_text=_('Image of the advert.'),\r\n    )\r\n\r\n    panels = [\r\n        FieldPanel('title', classname=\"title full\"),\r\n        FieldPanel('content', classname=\"full\"),\r\n        ImageChooserPanel('image'),\r\n    ]\r\n\r\n    def __str__(self):\r\n        \"\"\"Default.\"\"\"\r\n        return self.title\r\n\r\n    class Meta:\r\n        \"\"\"Meta.\"\"\"\r\n\r\n        verbose_name = _('Advert')\r\n        verbose_name_plural = _('Adverts')\r\n\r\n```\r\n\r\n### Technical details\r\n\r\n* Python version: 3.5.3\r\n* Django version: 1.10.7\r\n* Wagtail version: 1.9\r\n* Browser version: Firefox ESR 45\r\n"}}
{"actor":{"display_login":"nikaro"}}