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

Side by Side Diff: options.js

Issue 8787016: Remove "disable inline text-ads" feature (Closed)
Patch Set: Created Nov. 6, 2012, 8:16 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « options.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of the Adblock Plus extension, 2 * This file is part of the Adblock Plus extension,
3 * Copyright (C) 2006-2012 Eyeo GmbH 3 * Copyright (C) 2006-2012 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // Display jQuery UI elements 62 // Display jQuery UI elements
63 $("#tabs").tabs(); 63 $("#tabs").tabs();
64 $("button").button(); 64 $("button").button();
65 $(".refreshButton").button("option", "icons", {primary: "ui-icon-refresh"}); 65 $(".refreshButton").button("option", "icons", {primary: "ui-icon-refresh"});
66 $(".addButton").button("option", "icons", {primary: "ui-icon-plus"}); 66 $(".addButton").button("option", "icons", {primary: "ui-icon-plus"});
67 $(".removeButton").button("option", "icons", {primary: "ui-icon-minus"}); 67 $(".removeButton").button("option", "icons", {primary: "ui-icon-minus"});
68 68
69 // Popuplate option checkboxes 69 // Popuplate option checkboxes
70 initCheckbox("shouldShowIcon"); 70 initCheckbox("shouldShowIcon");
71 initCheckbox("shouldShowBlockElementMenu"); 71 initCheckbox("shouldShowBlockElementMenu");
72 initCheckbox("disableInlineTextAds");
73 initCheckbox("hidePlaceholders"); 72 initCheckbox("hidePlaceholders");
74 73
75 // Load recommended subscriptions 74 // Load recommended subscriptions
76 loadRecommendations(); 75 loadRecommendations();
77 76
78 // Show user's filters 77 // Show user's filters
79 reloadFilters(); 78 reloadFilters();
80 } 79 }
81 $(loadOptions); 80 $(loadOptions);
82 81
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 if (subscription.disabled == !enabled.checked) 609 if (subscription.disabled == !enabled.checked)
611 return; 610 return;
612 611
613 subscription.disabled = !enabled.checked; 612 subscription.disabled = !enabled.checked;
614 }, false); 613 }, false);
615 614
616 updateSubscriptionInfo(element); 615 updateSubscriptionInfo(element);
617 616
618 document.getElementById("filterLists").appendChild(element); 617 document.getElementById("filterLists").appendChild(element);
619 } 618 }
OLDNEW
« no previous file with comments | « options.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld