File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 3535 scheduler . init ( "scheduler_here" , new Date ( ) , "month" ) ;
3636 scheduler . load ( "data/api.php" ) ;
3737
38- var dp = new dataProcessor ( "data/api.php" ) ;
39- dp . init ( scheduler ) ;
40- dp . setTransactionMode ( "JSON" ) ; // use to transfer data with JSON
38+ var dp = scheduler . createDataProcessor ( {
39+ url : "data/api.php" ,
40+ mode : "JSON"
41+ } ) ;
4142 </ script >
4243</ body >
4344</ html >
Original file line number Diff line number Diff line change 66 < meta http-equiv ="X-UA-Compatible " content ="ie=edge ">
77 < title > How to start - connector - recurring</ title >
88 < script src ="https://cdn.dhtmlx.com/scheduler/edge/dhtmlxscheduler.js " type ="text/javascript "> </ script >
9- < script src ="https://cdn.dhtmlx.com/scheduler/edge/ext/dhtmlxscheduler_recurring.js " type ="text/javascript "> </ script >
109 < link rel ="stylesheet " href ="https://cdn.dhtmlx.com/scheduler/edge/dhtmlxscheduler_material.css " type ="text/css ">
1110 < style type ="text/css " media ="screen ">
1211 html , body {
3231 < div class ="dhx_cal_data "> </ div >
3332 </ div >
3433 < script >
34+ scheduler . plugins ( {
35+ recurring : true
36+ } ) ;
3537 scheduler . setLoadMode ( "day" ) ;
3638 scheduler . init ( "scheduler_here" , new Date ( ) , "month" ) ;
3739 scheduler . load ( "data/api_recurring.php" ) ;
3840
39- var dp = new dataProcessor ( "data/api_recurring.php" ) ;
40- dp . init ( scheduler ) ;
41- dp . setTransactionMode ( "JSON" ) ; // use to transfer data with JSON
41+ var dp = scheduler . createDataProcessor ( {
42+ url : "data/api_recurring.php" ,
43+ mode : "JSON"
44+ } ) ;
4245 </ script >
4346</ body >
4447</ html >
You can’t perform that action at this time.
0 commit comments