Bug 1072105: "TypeError: summary_container is null" when creating an attachment