From cc7dfef00527e7126caae3c808dd6b8b69d62391 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Tue, 29 Jan 2008 09:00:28 +0000 Subject: Redirector 1.5.2 git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@107 119bf307-c92d-0410-89bd-8f53e6181181 --- chrome/content/redirectList.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/content/redirectList.js') diff --git a/chrome/content/redirectList.js b/chrome/content/redirectList.js index 5da5ed8..1e61067 100644 --- a/chrome/content/redirectList.js +++ b/chrome/content/redirectList.js @@ -99,10 +99,10 @@ var RedirectList = { }, selectionChange : function() { - var index = this.lstRedirects.selectedIndex; + var index = $('lstRedirects').selectedIndex; - this.btnEdit.disabled = (index == -1); - this.btnDelete.disabled = (index == -1); + $('btnEdit').disabled = (index == -1); + $('btnDelete').disabled = (index == -1); } }; -- cgit v1.2.3-70-g09d2