]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Rename getSelection to get_selection. Fixes bug 141716, Mozilla context menus were...
authorcaillon%returnzero.com <>
Sun, 5 May 2002 10:08:50 +0000 (10:08 +0000)
committercaillon%returnzero.com <>
Sun, 5 May 2002 10:08:50 +0000 (10:08 +0000)
template/en/default/search/form.html.tmpl

index 91603974334aa43e9429c598f4d9f584ac64d6d4..790feee640e933214ce0c3fc3fc7a742c3d55717 100644 (file)
@@ -207,7 +207,7 @@ function merge_arrays(a, b, b_is_select) {
   #      indexes
   #    - want_values: boolean; we store values when true and indexes when
   #      false %]
-function getSelection(control, findall, want_values) {
+function get_selection(control, findall, want_values) {
     var ret = new Array();
 
     if ((!findall) && (control.selectedIndex == -1)) {
@@ -281,7 +281,7 @@ function selectProduct(f) {
 
     [%# if nothing selected, pick all %]
     var findall = f.product.selectedIndex == -1;
-    sel = getSelection(f.product, findall, false);
+    sel = get_selection(f.product, findall, false);
     if (!findall) {
         [%# save sel for the next invocation of selectProduct() %]
         var tmp = sel;
@@ -297,10 +297,10 @@ function selectProduct(f) {
         last_sel = tmp;
     }
     [%# save original options selected %]
-    var saved_cpts = getSelection(f.component, false, true);
-    var saved_vers = getSelection(f.version, false, true);
+    var saved_cpts = get_selection(f.component, false, true);
+    var saved_vers = get_selection(f.version, false, true);
     [% IF Param('usetargetmilestone') %]
-    var saved_tms = getSelection(f.target_milestone, false, true);
+    var saved_tms = get_selection(f.target_milestone, false, true);
     [% END %]
 
     [%# do the actual fill/update, reselect originally selected options %]