I am trying to use Scheduler version 3.0 with one custom radio button field in lightbox.
I load the following version 3.0 files:
dhtmlxscheduler.js
dhtmlxscheduler.css
dhtmlxscheduler_recurring.js
dhtmlxscheduler_editors.js
dataprocessor.php
I get error “c is not defined” when saving an event.
Same with or without locale files.
Martti

         
        
          
        
           
           
           
         
         
            
            
          
       
      
        
        
          Scheduler init code (worked with previous version):
[code]	
  <div class="dhx_cal_data">
  </div>
</div>
   html, body{
      margin:0px;
      padding:0px;
      height:100%;
      overflow:hidden;
   }   
[/code]
What can be wrong?
Martti  
 
         
        
        
           
           
           
         
         
            
            
          
       
      
        
        
          Error “c is undefined” appears at code line:
scheduler.setUserData=function(a,b,c){a?this.getEvent(a)[b]=c:this._userdata[b]=c};scheduler.getUserData=function(a,b){return a?this.getEvent(a)[b]:this._userdata[b]};scheduler.setEventTextStyle=function(a,b){this.for_rendered(a,function(a){a.style.cssText+=";"+b});var c=this.getEvent(a);c._text_style=b;this.event_updated(c)};scheduler.validId=function(){return!0};
Martti
         
        
        
           
           
           
         
         
            
            
          
       
      
        
        
          I dropped the wrong file dataprocessor.php (did nothing) and changed event properties names to start with id. Now it works ok. Event data posts now like this:
1312875692074_!nativeedit...	inserted
1312875692074_end_date	9999-02-01 00:00
1312875692074_event_lengt...	5400
1312875692074_event_pid	
1312875692074_id	1312875692074
1312875692074_rec_pattern	week_1___1,2,3,4,5
1312875692074_rec_type	week_1___1,2,3,4,5#no
1312875692074_stage	STARTUP
1312875692074_start_date	2011-08-08 07:00
1312875692074_text	Uusi tapahtuma
ids	131287569207
Martti  
         
        
        
           
           
           
         
         
            
            
          
       
      
        
        
          I had to add code line
dp.setTransactionMode("POST",false);
to reset to mode without ids in front.
Martti