diff --git a/layouts/v7/skins/vtiger/style.less b/layouts/v7/skins/vtiger/style.less index a30175e7129f6da3c3a090e3e0798426c3ee25ad..99b1a55ac8e6d48eff253eb92dc1bf59e186053d 100644 --- a/layouts/v7/skins/vtiger/style.less +++ b/layouts/v7/skins/vtiger/style.less @@ -8459,3 +8459,6 @@ input:focus:-ms-input-placeholder { color:transparent; } /* IE 10+ */ .navbar-fixed-top { z-index: 1095 !important; } +body .fc { +overflow:auto; +} diff --git a/modules/Calendar/actions/DragDropAjax.php b/modules/Calendar/actions/DragDropAjax.php index 546572090cd7d291a9f7b1e875e73e13274fd393..b56b56e41d5030adb990092f57e3ad5e8502c09e 100755 --- a/modules/Calendar/actions/DragDropAjax.php +++ b/modules/Calendar/actions/DragDropAjax.php @@ -16,6 +16,8 @@ class Calendar_DragDropAjax_Action extends Calendar_SaveAjax_Action { } public function process(Vtiger_Request $request) { + ini_set('error_reporting', '6135'); + ini_set('display_errors', 'on'); $mode = $request->getMode(); if(!empty($mode) && $this->isMethodExposed($mode)) { $this->invokeExposedMethod($mode, $request); @@ -251,7 +253,7 @@ class Calendar_DragDropAjax_Action extends Calendar_SaveAjax_Action { } $result['recurringRecords'] = true; } else { - $oldStartDateTime = ''; + $oldStartDateTime = array(); $oldStartDateTime[] = $record->get('date_start'); $oldStartDateTime[] = $record->get('time_start'); $oldStartDateTime = implode(' ', $oldStartDateTime); @@ -260,7 +262,7 @@ class Calendar_DragDropAjax_Action extends Calendar_SaveAjax_Action { $record->set('date_start',$parts[0]); $record->set('time_start',$parts[1]); - $oldEndDateTime = ''; + $oldEndDateTime = array(); $oldEndDateTime[] = $record->get('due_date'); $oldEndDateTime[] = $record->get('time_end'); $oldEndDateTime = implode(' ',$oldEndDateTime);