Commit a5e3974f authored by Dirk Wildt's avatar Dirk Wildt

0.0.6

parent 99022085
......@@ -575,7 +575,12 @@ class CellController extends AbstractController
*/
public function updateTicketAction( \Netzmacher\Tile\Domain\Model\Cell $cell )
{
//$this->addFlashMessage( 'The object was updated. Please be aware that this action is publicly accessible unless you implement an access check. See https://docs.typo3.org/typo3cms/extensions/extension_builder/User/Index.html', '', \TYPO3\CMS\Core\Messaging\AbstractMessage::WARNING );
$header = '';
$prompt = 'Tickets können nicht überschrieben werden.';
$this->addFlashMessage( $prompt, $header, \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR );
$header = '';
$prompt = 'Bitte entferne vorhandene Tickets, bevor Du neue erstellst.';
$this->addFlashMessage( $prompt, $header, \TYPO3\CMS\Core\Messaging\AbstractMessage::INFO );
$this->_setTicketForCellRange( $cell );
$area = $this->request->getArgument( 'area' );
$arguments = [
......
......@@ -104,9 +104,6 @@ class Cell extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
$cssClass = null;
$devider = null;
// var_dump(__METHOD__, __LINE__, $range, $cell->getX(), $cell->getY());
// die();
//
if($cell->getX() == $range['minX']){
$cssClass = $cssClass . $devider . 'west' ;
$devider = ' ';
......@@ -123,6 +120,7 @@ class Cell extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
$cssClass = $cssClass . $devider . 'south' ;
$devider = ' ';
}
return $cssClass;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment