Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12375

Attachment deletion broken after jQuery update

    XMLWordPrintable

Details

    Description

      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;
       		}
       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: