saving events on drag and drop
This commit is contained in:
@@ -104,7 +104,8 @@ class Event extends BaseEvent {
|
||||
if(isset($aData['EVN_RELATED_TO'])){
|
||||
$oEvent->setEvnRelatedTo( $aData['EVN_RELATED_TO'] );
|
||||
if ( $aData['EVN_RELATED_TO'] == 'SINGLE' ) {
|
||||
$oEvent->setTasUid( $aData['TAS_UID'] );
|
||||
if(isset($aData['TAS_UID']))
|
||||
$oEvent->setTasUid( $aData['TAS_UID'] );
|
||||
$oEvent->setEvnTasUidTo( '');
|
||||
$oEvent->setEvnTasUidFrom( '' );
|
||||
}
|
||||
@@ -115,6 +116,11 @@ class Event extends BaseEvent {
|
||||
}
|
||||
}
|
||||
|
||||
if(isset($aData['EVN_POSX']))
|
||||
$oEvent->setEvnPosx($aData['EVN_POSX']);
|
||||
if(isset($aData['EVN_POSY']))
|
||||
$oEvent->setEvnPosy($aData['EVN_POSY']);
|
||||
|
||||
if(isset($aData['EVN_TYPE']))
|
||||
$oEvent->setEvnType( $aData['EVN_TYPE'] );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user