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

Unified Diff: js/desktop-options.js

Issue 29736629: Issue 6532 - Removes required subscription title input field (Closed) Base URL: https://hg.adblockplus.org/adblockplusui
Patch Set: Address PS2 comments Created April 9, 2018, 8:46 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 | « desktop-options.html ('k') | locale/en_US/desktop-options.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: js/desktop-options.js
===================================================================
--- a/js/desktop-options.js
+++ b/js/desktop-options.js
@@ -732,18 +732,17 @@
break;
case "validate-import-subscription":
let form = findParentData(element, "validation", true);
if (!form)
return;
if (form.checkValidity())
{
- addEnableSubscription(E("import-list-url").value,
- E("import-list-title").value);
+ addEnableSubscription(E("import-list-url").value);
form.reset();
closeDialog();
}
else
{
form.querySelector(":invalid").focus();
}
break;
« no previous file with comments | « desktop-options.html ('k') | locale/en_US/desktop-options.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld