scheduler.form_blocks["multiselect"]={ render:function(sns) { var _result = "
"; for (var i=0; i"+sns.options[i].label+""; if(convertStringToBoolean(sns.vertical)) _result += '
'; } _result += "
"; return _result; }, set_value:function(node,value,ev,config){ var _children = node.getElementsByTagName('input'); for(var i=0;i<_children.length;i++) { _children[i].checked = false; //unchecking all inputs on the form } function _mark_inputs(ids) { // ids = [ 0: undefined, 1: undefined, 2: true ... ] var _children = node.getElementsByTagName('input'); for(var i=0;i<_children.length; i++) { _children[i].checked = !! ids[_children[i].value]; } } if(!scheduler._new_event) { // if it is a new event - new to get saved options var _ids = []; if(ev[config.map_to]) { var results = ev[config.map_to].split(','); for(var i=0;i