can find overlapping shows now for moving.
This commit is contained in:
parent
7b22099f12
commit
b10c2cfe2a
2 changed files with 35 additions and 11 deletions
|
@ -13,7 +13,8 @@ class ScheduleController extends Zend_Controller_Action
|
|||
$ajaxContext = $this->_helper->getHelper('AjaxContext');
|
||||
$ajaxContext->addActionContext('event-feed', 'json')
|
||||
->addActionContext('add-show-dialog', 'json')
|
||||
->addActionContext('add-show', 'json')
|
||||
->addActionContext('add-show', 'json')
|
||||
->addActionContext('move-show', 'json')
|
||||
->initContext();
|
||||
}
|
||||
|
||||
|
@ -69,7 +70,8 @@ class ScheduleController extends Zend_Controller_Action
|
|||
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
|
||||
|
||||
$show = new Show($userInfo->type);
|
||||
$show->moveShow($showId, $deltaDay, $deltaMin);
|
||||
|
||||
$this->view->overlap = $show->moveShow($showId, $deltaDay, $deltaMin);
|
||||
}
|
||||
|
||||
public function resizeShowAction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue