Hide or Disable Lightbox Time Period

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

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


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;