From ff2be560b94e245882d19c477b43e77642da8f94 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Mon, 26 Oct 2009 10:16:31 +0000 Subject: Fixed bug with updating imported redirects git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@290 119bf307-c92d-0410-89bd-8f53e6181181 --- chrome/content/code/settings.xul.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome') diff --git a/chrome/content/code/settings.xul.js b/chrome/content/code/settings.xul.js index 8958028..3102e31 100644 --- a/chrome/content/code/settings.xul.js +++ b/chrome/content/code/settings.xul.js @@ -267,7 +267,7 @@ var Settings = { if (imported > 0) { var newlist = []; - for (var i = Redirector.redirectCount-result.imported; i < Redirector.redirectCount; i++) { + for (var i = Redirector.redirectCount-imported; i < Redirector.redirectCount; i++) { newlist.push(Redirector.getRedirectAt(i)); } this.addItemsToListBox(newlist); -- cgit v1.2.3-70-g09d2