diff --git a/root/tt/subscriber_callforward_times.tt b/root/tt/subscriber_callforward_times.tt index bdc71f0..bde6124 100644 --- a/root/tt/subscriber_callforward_times.tt +++ b/root/tt/subscriber_callforward_times.tt @@ -282,6 +282,10 @@ // from-year if(dropped.attr("id") == "drag-elem-year" || dropped.attr("id") == "drag-elem-year-range") { + var y = d.getFullYear(); var py = parseInt(param); + if(y > py) { + $('').appendTo(from_select); + } for(var i = 0; i < years.length; ++i) { var y = d.getFullYear() + i; $('').appendTo(from_select);