CC-3335 : Timeline: Drag and drop usability improvements

cursor must be used to add tracks to timeline, not check boxes.
This commit is contained in:
Naomi Aro 2012-02-23 17:46:07 +01:00
parent b357b80054
commit 753c05ce5b
6 changed files with 163 additions and 114 deletions

View file

@ -37,15 +37,16 @@ class Application_Model_User {
public function canSchedule($p_showId) {
$type = $this->getType();
$result = false;
if ( $type === UTYPE_ADMIN ||
$type === UTYPE_PROGRAM_MANAGER ||
CcShowHostsQuery::create()->filterByDbShow($p_showId)->filterByDbHost($this->getId())->count() > 0 )
{
return true;
$result = true;
}
return false;
return $result;
}
public function isUserType($type, $showId=''){