]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1553780 - Can't type/paste text into attachment contents and set text/html mimetype
authorKohei Yoshino <kohei.yoshino@gmail.com>
Tue, 28 May 2019 18:52:31 +0000 (14:52 -0400)
committerGitHub <noreply@github.com>
Tue, 28 May 2019 18:52:31 +0000 (14:52 -0400)
js/attachment.js

index aa17201b2f62d6ea6f5a1428f28304db29e0288a..414d6754aef9ab38019bb8d43c1337468063d458 100644 (file)
@@ -631,7 +631,6 @@ Bugzilla.AttachmentForm = class AttachmentForm {
     this.update_validation();
     this.$type_input.value = is_ghpr ? 'text/x-github-pull-request' : '';
     this.update_ispatch(is_patch);
-    this.$type_outer.querySelectorAll('[name]').forEach($input => $input.disabled = has_text);
   }
 
   /**