FREEPBX-7349 #close Adds js check to ensure custom schedule is actually
set if selected.