Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: composer.js

Issue 29613777: Issue 5817 - Retry sending suggested filters to block element dialog (Closed)
Patch Set: Created Nov. 21, 2017, 3:34 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: composer.js
diff --git a/composer.js b/composer.js
index 94d8a909e50620725ac056d9d153534b6d492954..307fe3c02876810b2c4c39df3cd5ee7caa32decf 100644
--- a/composer.js
+++ b/composer.js
@@ -96,7 +96,9 @@ function init()
{
case "composer.dialog.init":
targetPageId = msg.sender;
- document.getElementById("filters").value = msg.filters.join("\n");
+ let filtersTextArea = document.getElementById("filters");
+ filtersTextArea.value = msg.filters.join("\n");
+ filtersTextArea.disabled = false;
break;
case "composer.dialog.close":
closeMe();

Powered by Google App Engine
This is Rietveld