diff --git a/lib/static/javascript/auto/reports.js b/lib/static/javascript/auto/reports.js index 23293ac..e2a1ce9 100644 --- a/lib/static/javascript/auto/reports.js +++ b/lib/static/javascript/auto/reports.js @@ -40,6 +40,10 @@ var onFormSelect = function(){ { $(input).setAttribute("disabled", "disabled"); }); + $(elem).select('select').each(function (select) + { + $(select).setAttribute("disabled", "disabled"); + }); }); //show the form we want @@ -51,6 +55,11 @@ var onFormSelect = function(){ { $(input).removeAttribute("disabled"); }); + //enable this form's select elements + $(formid).select('select').each(function (select) + { + $(select).removeAttribute("disabled"); + }); };