},
get_value:function(node,ev){
//node - html object related to html defined above
//event object
return "current value from editor";
},
focus:function(node){
//node - html object related to html defined above
}
}[/code]
But I don’t know how to get the event_id of the current event to make my link functionnal.
How can I do that ?
Ok, but it seems like i can’t update my element with the set_value method :
scheduler.form_blocks["informations_sup"]={
render:function(sns){ //sns - section configuration object
return "<div id='infos'></div>";
},
set_value:function(node,value,ev){
var div = document.getElementById('infos');
div.innerHTML("<a href='http://trame.localhost/"+jQuery("#site_name").val()+"/"+jQuery("#agenda_id").val()+"/itineraire/"+scheduler.getEvent(ev).custom_data.id+"'>Trouver un itinéraire avec Google map</a><br><a href=''>Poster un compte rendu</a>")
},