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: Rebased, addressed Wladimir's feedback Created Nov. 23, 2017, 12:29 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
« no previous file with comments | « composer.html ('k') | lib/filterComposer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: composer.js
diff --git a/composer.js b/composer.js
index 94d8a909e50620725ac056d9d153534b6d492954..e45c948e153387e7a0140f94862c9809c92bc5f6 100644
--- a/composer.js
+++ b/composer.js
@@ -96,7 +96,10 @@ 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;
+ $("#addButton").button("option", "disabled", false);
kzar 2017/11/23 12:31:53 I'm unhappy to add new code that uses jQuery howev
break;
case "composer.dialog.close":
closeMe();
« no previous file with comments | « composer.html ('k') | lib/filterComposer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld