From 0065dc23b00c5039ec3036ff895b9a67341c05c0 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Mon, 12 Oct 2009 10:53:53 +0000 Subject: 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 --- chrome/content/code/settings.xul.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chrome/content/code') 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(); } }, -- cgit v1.2.3-70-g09d2