From 312808bc8f23f800ee89621da942f749ab89e1e0 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 20 Dec 2007 18:35:47 +0000 Subject: [PATCH] Dont disable the type & stock so the default values (selectedIndex=0) still gets POSTED, even though the dropdowns are not displayed. --- admin/reports.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/reports.php b/admin/reports.php index 31b51b2..7838396 100644 --- a/admin/reports.php +++ b/admin/reports.php @@ -290,8 +290,8 @@ } else { - document.addreport.type.disabled=true; - document.addreport.stock.disabled=true; +// document.addreport.type.disabled=true; +// document.addreport.stock.disabled=true; document.addreport.type.style.display='none'; document.addreport.stock.style.display='none'; document.getElementById('reporttypecustom').style.display=''; @@ -352,7 +352,7 @@ echo "{$o['desc']}:"; echo "".i18n("Custom").""; }