#4553 Close and comment button does not work
Closed: Fixed a year ago by jlanda. Opened a year ago by wattersmt.

After upgrading to Pagure 5.7.1 the close and comment button does not work. The browser console shows an error as follows.

31:1077 Uncaught TypeError: form.attr is not a function
    at try_async_comment (31:1077)
    at HTMLFormElement.<anonymous> (31:848)
    at HTMLFormElement.dispatch (jquery.min.js?version=5.7.1:2)
    at HTMLFormElement.v.handle (jquery.min.js?version=5.7.1:2)
    at Object.trigger (jquery.min.js?version=5.7.1:2)
    at HTMLFormElement.<anonymous> (jquery.min.js?version=5.7.1:2)
    at Function.each (jquery.min.js?version=5.7.1:2)
    at k.fn.init.each (jquery.min.js?version=5.7.1:2)
    at k.fn.init.trigger (jquery.min.js?version=5.7.1:2)
    at k.fn.init.k.fn.<computed> [as submit] (jquery.min.js?version=5.7.1:2)

Metadata Update from @jlanda:
- Issue assigned to jlanda

a year ago

Yep, we had a regression during csp fixing process, it's fixed on https://pagure.io/pagure/c/39362d538f32987db9810aec3ee0d4be39203461?branch=master

This was a different one =)

Metadata Update from @jlanda:
- Issue tagged with: JS, bug

a year ago

Metadata Update from @jlanda:
- Issue set to the milestone: 5.7

a year ago

This should be fixed on 5.7.2

Metadata Update from @jlanda:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Related Pull Requests
  • #4555 Merged a year ago