Hide or Disable Lightbox Time Period

Hi, i must hide or disable time period in lightbox.
How?

I’ve tried:

scheduler.attachEvent("onLightbox", function(){
			var time = scheduler.formSection("time");
			var control = time.node.querySelector("select");
			control.disabled = true;
		});

but disable only start time

thanks

Hi,
the time control contains eight selector, you need to use querySelectorAll to retreive all of them and disable them in a loopvar controls = time.node.querySelectorAll("select"); for(var i = 0; i < controls.length; i++) controls[i].disabled = true;