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

Side by Side Diff: chrome/content/ui/filters-filteractions.js

Issue 29338626: Issue 3835 - Update dependency on adblockpluscore to revision 2d4888611240 (Closed)
Patch Set: Fixed updateRequired replacement Created March 19, 2016, 6:57 p.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 | « chrome/content/ui/filters-backup.js ('k') | chrome/content/ui/filters-subscriptionactions.js » ('j') | 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 Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2016 Eyeo GmbH 3 * Copyright (C) 2006-2016 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 E("tooltip-hitcount-row").hidden = !(item.filter instanceof ActiveFilter); 359 E("tooltip-hitcount-row").hidden = !(item.filter instanceof ActiveFilter);
360 E("tooltip-lasthit-row").hidden = !(item.filter instanceof ActiveFilter) || !item.filter.lastHit; 360 E("tooltip-lasthit-row").hidden = !(item.filter instanceof ActiveFilter) || !item.filter.lastHit;
361 if (item.filter instanceof ActiveFilter) 361 if (item.filter instanceof ActiveFilter)
362 { 362 {
363 E("tooltip-hitcount").setAttribute("value", item.filter.hitCount) 363 E("tooltip-hitcount").setAttribute("value", item.filter.hitCount)
364 E("tooltip-lasthit").setAttribute("value", Utils.formatTime(item.filter.la stHit)) 364 E("tooltip-lasthit").setAttribute("value", Utils.formatTime(item.filter.la stHit))
365 } 365 }
366 366
367 E("tooltip-additional").hidden = false; 367 E("tooltip-additional").hidden = false;
368 if (item.filter instanceof InvalidFilter && item.filter.reason) 368 if (item.filter instanceof InvalidFilter && item.filter.reason)
369 E("tooltip-additional").textContent = item.filter.reason; 369 E("tooltip-additional").textContent = Utils.getString(item.filter.reason);
370 else if (item.filter instanceof RegExpFilter && defaultMatcher.isSlowFilter( item.filter)) 370 else if (item.filter instanceof RegExpFilter && defaultMatcher.isSlowFilter( item.filter))
371 E("tooltip-additional").textContent = Utils.getString("filter_regexp_toolt ip"); 371 E("tooltip-additional").textContent = Utils.getString("filter_regexp_toolt ip");
372 else 372 else
373 E("tooltip-additional").hidden = true; 373 E("tooltip-additional").hidden = true;
374 }, 374 },
375 375
376 /** 376 /**
377 * Called whenever a key is pressed on the list. 377 * Called whenever a key is pressed on the list.
378 */ 378 */
379 keyDown: function(/**Event*/ event) 379 keyDown: function(/**Event*/ event)
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 return; 555 return;
556 556
557 this.deleteItems(this.dragItems); 557 this.deleteItems(this.dragItems);
558 } 558 }
559 }; 559 };
560 560
561 window.addEventListener("load", function() 561 window.addEventListener("load", function()
562 { 562 {
563 FilterActions.init(); 563 FilterActions.init();
564 }, false); 564 }, false);
OLDNEW
« no previous file with comments | « chrome/content/ui/filters-backup.js ('k') | chrome/content/ui/filters-subscriptionactions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld