Implement new account selector

This commit is contained in:
Dennis Eichhorn 2019-02-23 19:09:31 +01:00
parent 3ce7d3e0fe
commit a30fca5b31
2 changed files with 2 additions and 3 deletions

View File

@ -53,7 +53,6 @@ final class ApiController extends Controller
if (($val['title'] = empty($request->getData('title')))
|| ($val['plain'] = empty($request->getData('plain')))
|| ($val['due'] = !((bool) strtotime((string) $request->getData('due'))))
|| ($val['forward'] = !(is_numeric($request->getData('forward') ?? 0)))
) {
return $val;
}

View File

@ -29,9 +29,9 @@ echo $this->getData('nav')->render(); ?>
<table class="layout wf-100" style="table-layout: fixed">
<tbody>
<tr><td><label for="iReceiver"><?= $this->getHtml('To') ?></label>
<tr><td><?= $this->getData('accGrpSelector')->render('iReceiver', true); ?>
<tr><td><?= $this->getData('accGrpSelector')->render('iReceiver', 'forward', true); ?>
<tr><td><label for="iObserver"><?= $this->getHtml('CC') ?></label>
<tr><td><?= $this->getData('accGrpSelector')->render('iCC', false); ?>
<tr><td><?= $this->getData('accGrpSelector')->render('iCC', 'cc', false); ?>
<tr><td><label for="iPriority"><?= $this->getHtml('Priority') ?></label>
<tr><td>
<select id="iPriority" name="priority">