fix: List facets dialogue should be non editable (#2375)

This commit is contained in:
Kush Trivedi 2020-03-10 15:47:23 +05:30 committed by GitHub
parent c90fd31daf
commit fec414cb14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,7 +227,7 @@ ListFacet.prototype._copyChoices = function() {
var body = $('<div></div>').addClass("dialog-body").appendTo(frame);
var footer = $('<div></div>').addClass("dialog-footer").appendTo(frame);
body.html('<textarea wrap="off" bind="textarea" style="display: block; width: 100%; height: 400px;" />');
body.html('<textarea disabled wrap="off" bind="textarea" style="display: block; width: 100%; height: 400px;" />');
var elmts = DOM.bind(body);
$('<button class="button"></button>').text($.i18n('core-buttons/close')).click(function() {