[Vtigercrm-commits] [vtiger-commits] r10762 - /vtigercrm/branches/5.0.3/Smarty/templates/ReportFilters.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 23 08:28:18 EDT 2007
Author: richie
Date: Mon Apr 23 06:28:05 2007
New Revision: 10762
Log:
* Call the updatefOptions to show the applicable conditions only when edit the report, Fixed #3612
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/ReportFilters.tpl
Modified: vtigercrm/branches/5.0.3/Smarty/templates/ReportFilters.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ReportFilters.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ReportFilters.tpl Mon Apr 23 06:28:05 2007
@@ -174,4 +174,14 @@
Calendar.setup ({inputField : "jscal_field_date_start", ifFormat : "%Y-%m-%d", showsTime : false, button : "jscal_trigger_date_start", singleClick : true, step : 1});
Calendar.setup ({inputField : "jscal_field_date_end", ifFormat : "%Y-%m-%d", showsTime : false, button : "jscal_trigger_date_end", singleClick : true, step : 1});
</script>
+
+<script>
+for(var i=1;i<=5;i++)
+{
+ var obj=document.getElementById("fcol"+i);
+ if(obj.selectedIndex != 0)
+ updatefOptions(obj, 'fop'+i);
+}
+</script>
+
{/literal}
More information about the vtigercrm-commits
mailing list