Event is not dragable on calendar!!!!

Hello guys. A problem occured suddenly. I can’t move any event on the calendar, though i can extend it’s period(increase height on event).
Can you help me please?

[code]/* Renders the Scheduler /
function initScheduler() {
dhtmlx.image_path = ‘<?php echo Yii::app()->baseUrl; ?>/imgs/’;
/
Scheduler */
scheduler.config.multi_day = true;
scheduler.config.xml_date = “%Y-%m-%d %H:%i”;
scheduler.templates.event_class = function(start, end, event) {
if (start < (new Date())) //if date in past
return “past_event”; //then set special css class for it
}
scheduler.config.drag_create = true;
scheduler.config.event_duration = 60;
scheduler.config.details_on_create = true;
scheduler.config.details_on_dblclick = true;

      scheduler.config.cascade_event_display = true; // enable rendering, default value = false
      scheduler.config.cascade_event_count = 6; // how many events events will be displayed in cascade style (max), default value = 4
      scheduler.config.cascade_event_margin = 20; // margin between events, default value = 30
    
      scheduler.xy.menu_width = 0;
      scheduler.config.show_loading = true;
      scheduler.config.first_hour = 6;
      scheduler.config.last_hour = scheduler.config.first_hour + 24;
      scheduler.config.mark_now = true;
      scheduler.init('scheduler', null, "week");
      scheduler.locale.labels.new_event = "Καταχώρηση Γεγονότος";
					
	
      scheduler.attachEvent("onViewChange", function (mode , date){
           //any custom logic here
           $(".dhx_scale_hour").each(function(){
                k=greek_hour($(this).html());
                $(this).html(k);
           });				
           colorize_tasks();
      });
	  
	  
      scheduler.attachEvent("onXLE", function (){
           colorize_tasks();
      });
	
      scheduler.attachEvent("onEventAdded", function (){
           colorize_tasks();
      });
	
      scheduler.attachEvent("onEventChanged", function (){
           colorize_tasks();
      });
	
      scheduler.attachEvent("onEventSave", function (){
           colorize_tasks();
      });

      scheduler.load('<?php echo Yii::app()->request->baseUrl; ?>/site/getData');
      scheduler.config.dblclick_create;	


      scheduler.attachEvent("onClick", function(event_id, native_event_object) {
           var ev = scheduler.getEvent(event_id);

           openLightbox('dialog', '<?php echo Yii::app()->baseUrl; ?>/tasks/update/id/' + event_id,  ev.text, 950);
           colorize_tasks();
           return false;
      });

                   
      scheduler.attachEvent("onEventChanged", function(event_id, event_object) {
           $.ajax({
                type: 'GET',
                url: '<?php echo Yii::app()->baseUrl; ?>/tasks/updateEventTime/?id=' + event_id + '&snew=' + format(event_object.start_date) + '&enew=' + format(event_object.end_date) + '',
                success: function(){
                     colorize_tasks();
                     window.top.$("#notifbox").load('<?php echo Yii::app()->request->baseUrl; ?>/site/notifications');
                }
           });
        
           $.ajax({
                type: 'GET',
                url: '<?php echo Yii::app()->baseUrl; ?>/cases/updateCaseDates/?id=' + event_id + '&snew=' + format(event_object.start_date) + '&enew=' + format(event_object.end_date) + '',
                success: function(){
                     window.top.$("#notifbox").load('<?php echo Yii::app()->request->baseUrl; ?>/site/notifications');
                     console.log('Case date update completed! Ton poulo!');	
                }
           });
		
      });
                
      scheduler.showLightbox = function(id) {
           evopen = scheduler.getEvent(id);
           var lurl = null;
           if (id > 1000000) {
                lurl = '<?php echo Yii::app()->baseUrl; ?>/tasks/create';
           } else {
                lurl = '<?php echo Yii::app()->baseUrl; ?>/tasks/update/id/' + id;
           }
           id > 1000000 ? scheduler.deleteEvent(id) : true;
		/* evgala to  || 'Νέα Καταχώρηση' */
           openLightbox('dialog', lurl,  evopen.text, 950);
      }
					
 }

scheduler.templates.event_text = function(start, end, event) {
return "

" + event.text + “
” + “” + event.details + “
”;
}

scheduler.templates.event_header = function(start, end, ev) {

 if (typeof ev.alerts != 'undefined' && ev.tips != '') {
      prefix="<div class='inner_event2'  style='position: relative; text-align: left; border: 0px solid #000; left: 0px; top:0px; width: 100%; height: 100%; overflow: visible;  z-index: 999;'><div id='" + ev.id + "' class='event_alert_inner' style='display: none; position: absolute; top:100%; left: 0px;  z-index: 999; '>" + ev.alerts.replace("\n", "<br>") + "</div><div id='" + ev.id + "_tip' class='event_tip_inner' style='display: none; position: absolute; top: 100%; left: 0px; z-index: 999; '>" + ev.tips + "</div><div style='position: absolute; background: transparent; margin-left: -1px; width: 40px; height: 20px; bottom: 1px; right:0px; z-index: 999;'><table width='100%'><tr><td align='left' width='15 onmouseover='javascript: $(\"#" + ev.id + ".event_alert_inner\").show();'  onmouseout='javascript: $(\"#" + ev.id + ".event_alert_inner\").hide();'><img src='/images/site/asterisk.png' /></td><td align='right' width='15' onmouseover='javascript:  $(\"#" + ev.id + "_tip\").show();'  onmouseout='javascript: $(\"#" + ev.id + "_tip\").hide();'><img src='/images/site/inf_icon.png' /></td></tr></table></div>";
 } else if (typeof ev.alerts != 'undefined' && ev.tips == '') {
      prefix="<div class='inner_event2'  style='position: relative; text-align: left; border: 0px solid #000; left: 0px; top:0px; width: 100%; height: 100%; overflow: visible;  z-index: 999;'><div id='" + ev.id + "' class='event_alert_inner' style='display: none; position: absolute; top: 100%; left: 0px;  z-index: 999; '>" + ev.alerts.replace("\n", "<br>") + "</div><div id='" + ev.id + "_tip' class='event_tip_inner' style='display: none; position: absolute; top: 100%; left: 0px; z-index: 999; '>" + ev.tips + "</div><div style='position: absolute; background: transparent; margin-left: -1px; width: 40px; height: 20px; bottom: 1px; right:0px; z-index: 999;'><table width='100%'><tr><td align='left' width='15' onmouseover='javascript: $(\"#" + ev.id + ".event_alert_inner\").show();'  onmouseout='javascript: $(\"#" + ev.id + ".event_alert_inner\").hide();'><img src='/images/site/asterisk.png' /></td><td width='15'></td></tr></table></div>";
 } else {
      prefix="<div class='inner_event2'  style='position: relative; text-align: left;  border: 0px solid #000; left: 0px; top:0px; width: 100%; height: 100%; overflow: visible;  z-index: 999;'>";
 }

 suffix="</div>";


 var html = "<input type='checkbox' class='done_check' value='" + ev.id + "' "+((ev.is_done==1)?" checked='checked'":"")+" onclick='(arguments[0]||event).cancelBubble=true; if(this.checked==true){ testCheck($(this).val(), 1);}else{ testCheck($(this).val(), 0);}'>";
 return prefix+html + scheduler.templates.event_date(start) + " - " + scheduler.templates.event_date(end)+suffix;

}

[/code]

problem caused by

<div class='inner_event2'  style='position:

try to change it as

<div  style='position:

and if you need css for styling - you can style that div as

.dhx_title div