aboutsummaryrefslogtreecommitdiff
path: root/chrome/content/code
diff options
context:
space:
mode:
authorEinar Egilsson2009-10-12 10:53:53 +0000
committerEinar Egilsson2009-10-12 10:53:53 +0000
commit0065dc23b00c5039ec3036ff895b9a67341c05c0 (patch)
tree63dbf7a568dc88604a9b7d6b154879027df2d12a /chrome/content/code
parentec3841397d32bf4d344209a305fefdee3441b101 (diff)
Naming changes and final fix to up/down buttons
git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@265 119bf307-c92d-0410-89bd-8f53e6181181
Diffstat (limited to 'chrome/content/code')
-rw-r--r--chrome/content/code/settings.xul.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/content/code/settings.xul.js b/chrome/content/code/settings.xul.js
index 6fdcca3..80fa8a4 100644
--- a/chrome/content/code/settings.xul.js
+++ b/chrome/content/code/settings.xul.js
@@ -4,7 +4,7 @@ var Redirector = Components.classes["@einaregilsson.com/redirector;1"].getServic
const Cc = Components.classes;
const Ci = Components.interfaces;
-var RedirectList = {
+var Settings = {
lstRedirects: null,
btnDelete : null,
@@ -135,6 +135,7 @@ var RedirectList = {
if (args.saved) {
this.addItemsToListBox([args.redirect]);
Redirector.addRedirect(args.redirect);
+ this.selectionChange();
}
},
@@ -156,6 +157,7 @@ var RedirectList = {
redirect.copyValues(args.redirect);
this.setListItemValues(listItem, redirect);
Redirector.save();
+ this.selectionChange();
}
},