including read_only ext. makes all events to be read only

If I include the read_only extension in the page, this causes all events to be read only, regardless of any parameters I have set. I have created an if statement:

[code]function isEditable(id){
return “blah” == “blah”;
}

			scheduler.attachEvent("onDblClick", function(id,e){

				if(!isEditable(id)){
					scheduler.getEvent(id).readonly = true;
				}
				return true;
			});

			scheduler.attachEvent("onBeforeDrag", function (id, mode, e){
				if(!isEditable(id)) 
					return false;
				return true;
			});  [/code]

blah == blah should make everything edittable, but it doesnt.

Hello,
readonly form can be applied to all events in case you’ve enabled readonly_form config, or if the .readonly property of all events is true.

docs.dhtmlx.com/scheduler/sample … event.html
docs.dhtmlx.com/scheduler/sample … _form.html
docs.dhtmlx.com/scheduler/api__s … onfig.html

There is also global ‘readonly’ config which disables editing of the whole calendar
docs.dhtmlx.com/scheduler/api__s … onfig.html