From 80c6d150b42ae5d9ba7464c5e20023cc90388259 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Tue, 9 Aug 2011 14:19:43 -0700 Subject: Bug 636416: Use the standard value-controller javascript to control the drop-down fields on the Advanced Search page. r=glob, a=mkanat --- js/util.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'js/util.js') diff --git a/js/util.js b/js/util.js index 6dcabbbc9..56649ac66 100644 --- a/js/util.js +++ b/js/util.js @@ -219,6 +219,34 @@ function bz_valueSelected(aSelect, aValue) { return false; } +/** + * Returns all Option elements that are selected in a a particular option is. * Returns -1 if the value is not in the