Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12375

Attachment deletion broken after jQuery update

XMLWordPrintable

    Error rendering 'com.atlassian.jira.jira-view-issue-plugin:details-module'. Please contact your Jira administrators.

      The request is sent successfully and the file is removed, but the row in the uploader remains in place. This occurs due to a change in the behavior
      of parseJSON. The response below is already parsed and when running it through parseJSON returned null prior to 1.9; now there's an actual error thrown so the function is returning leaving the attachment row intact.

       	var done = function(response) {
      		var json = {};
      		try {
      			json = $.parseJSON(response);
      		} catch (e) {
       			return;
       		}
       

            prototech prototech [X] (Inactive)
            prototech prototech [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: