Skip to content

Instantly share code, notes, and snippets.

@Stanislav-Wolski
Created January 13, 2012 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stanislav-Wolski/1606997 to your computer and use it in GitHub Desktop.
Save Stanislav-Wolski/1606997 to your computer and use it in GitHub Desktop.
Fix FF9-Mac for dhtmlxscheduler
//replace content of _copy_dummy function with the next
scheduler._copy_dummy=function(){
var a = new Date(this.start_date);
var b = new Date(this.end_date);
this.start_date = a;
this.end_date = b;
};
@Stanislav-Wolski
Copy link
Author

If you are using recurring events, code need to be changed as

//replace content of _copy_dummy function with the next
scheduler._copy_dummy=function(){ 
    var a = new Date(this.start_date);
    var b = new Date(this.end_date);
    this.start_date = a;
    this.end_date = b;

    this.event_length=this.event_pid=this.rec_pattern=this.rec_type=null;
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment