aboutsummaryrefslogtreecommitdiff
path: root/chrome
diff options
context:
space:
mode:
authorEinar Egilsson2009-10-26 10:16:31 +0000
committerEinar Egilsson2009-10-26 10:16:31 +0000
commitff2be560b94e245882d19c477b43e77642da8f94 (patch)
treedfcfb30e021a64471aa92c242dcf1d2bc38ed78d /chrome
parentf0bfa9558644bf53ab9464ae4758f09462402436 (diff)
Fixed bug with updating imported redirects
git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@290 119bf307-c92d-0410-89bd-8f53e6181181
Diffstat (limited to 'chrome')
-rw-r--r--chrome/content/code/settings.xul.js2
1 files changed, 1 insertions, 1 deletions
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);