public function handleUpdatePosition(string $json): void
	{
		if ($this->request->isAjax()) {
			$data = Json::decode($json);
			$this->getStorage()->updatePosition($data);
		}
		throw new AbortException;
	}
public function handleUpdatePosition(string $json): void
	{
		if ($this->request->isAjax()) {
			$data = Json::decode($json);
			$this->getStorage()->updatePosition($data);
		}
		throw new AbortException;
	}
public function handleUpdatePosition ( string $ json ) : void { if ( $ this -> request -> isAjax ( ) ) { $ data = Json :: decode ( $ json ) ; $ this -> getStorage ( ) -> updatePosition ( $ data ) ; } throw new AbortException ; }
Aktualizuje poradi obrazku
@param string $json
@secured
@throws \Nette\Utils\JsonException
@throws AbortException
Aktualizuje poradi obrazku