confirmation of moved event

is there something that will prompt a user to save every time someone moves an event with a mouse (or even without)?

TIA,

David

I tried this but it’s always aborting the change regardless if I confirm or not.

-D

scheduler.attachEvent(“onBeforeEventChanged”, function(event_object, native_event, is_new){

dhtmlx.confirm({                                                                       
     top:'10px',                                                                       
     left:'10px',                                                                      
     type:"confirm",                                                                   
     text: "Save?",                                                                    
     callback: function(result){                                                       
         if (result) {                                                                 
            return true;                                                               
         }                                                                             
     }                                                                                 
});                                                                                    
                                                                                       
return false;                                                                          

});

Above code will work only if you are using native confirm, not dhtmlx.confirm

scheduler.attachEvent(“onBeforeEventChanged”, function(event_object, native_event, is_new){
return confirm(“Save?”);
});