Skip to content
Browse files

Fixed search filter

  • Loading branch information...
1 parent 62ae315 commit 4b7da74b835ef08cf09015314b146339e5386a18 @SebastianZ SebastianZ committed Jun 12, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 extension/content/firebug/cookies/cookiePanel.js
View
5 extension/content/firebug/cookies/cookiePanel.js
@@ -13,6 +13,7 @@ define([
"firebug/lib/css",
"firebug/lib/events",
"firebug/lib/array",
+ "firebug/lib/search",
"firebug/cookies/menuUtils",
"firebug/cookies/cookieReps",
"firebug/cookies/headerResizer",
@@ -23,7 +24,7 @@ define([
"firebug/cookies/cookiePermissions",
"firebug/cookies/cookieClipboard",
],
-function(Xpcom, Obj, Locale, Domplate, Dom, Options, Persist, Str, Http, Css, Events, Arr,
+function(Xpcom, Obj, Locale, Domplate, Dom, Options, Persist, Str, Http, Css, Events, Arr, Search,
MenuUtils, CookieReps, HeaderResizer, CookieObserver, CookieUtils, Cookie, Breakpoints,
CookiePermissions, CookieClipboard) {
@@ -338,7 +339,7 @@ CookiePanel.prototype = Obj.extend(Firebug.ActivablePanel,
this.matchSet = [];
function findRow(node) { return Dom.getAncestorByClass(node, "cookieRow"); }
- var search = new TextSearch(this.panelNode, findRow);
+ var search = new Search.TextSearch(this.panelNode, findRow);
var cookieRow = search.find(text);
if (!cookieRow)

0 comments on commit 4b7da74

Please sign in to comment.
Something went wrong with that request. Please try again.