From 9f026b9ca06bc127654e86fb8313166e75a6a6a3 Mon Sep 17 00:00:00 2001 From: Rafik Robeal Date: Thu, 11 Jul 2019 18:25:33 -0700 Subject: [PATCH] Enable image pasting in report issue form --- js/common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/common.js b/js/common.js index 6f2bfd65ac..cb27e38250 100644 --- a/js/common.js +++ b/js/common.js @@ -411,8 +411,8 @@ $(document).ready( function() { var autoUpload = $(this).hasClass('auto-dropzone'); var zoneObj = enableDropzone( classPrefix, autoUpload ); if( zoneObj ) { - /* Attach image paste handler to add-note form */ - $( '#bugnoteadd' ).bind( 'paste', function( event ) { + /* Attach image paste handler to report-bug & add-note forms */ + $( '#bugnoteadd, #report_bug_form' ).bind( 'paste', function( event ) { var items = ( event.clipboardData || event.originalEvent.clipboardData ).items; for( index in items ) { var item = items[index];