summaryrefslogtreecommitdiff
path: root/app/Template/layout.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/layout.php')
-rw-r--r--app/Template/layout.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/app/Template/layout.php b/app/Template/layout.php
index 7d986309..fcdc23a0 100644
--- a/app/Template/layout.php
+++ b/app/Template/layout.php
@@ -12,7 +12,7 @@
<?php endif ?>
<?php if (! isset($not_editable)): ?>
- <?= $this->asset->js('assets/js/app.js', true) ?>
+ <?= $this->asset->js('assets/js/app.js') ?>
<?php endif ?>
<?= $this->asset->colorCss() ?>
@@ -48,7 +48,13 @@
<ul>
<?php if (isset($board_selector) && ! empty($board_selector)): ?>
<li>
- <select id="board-selector" tabindex="-1" data-notfound="<?= t('No results match:') ?>" data-placeholder="<?= t('Display another project') ?>" data-board-url="<?= $this->url->href('board', 'show', array('project_id' => 'PROJECT_ID')) ?>">
+ <select id="board-selector"
+ class="chosen-select select-auto-redirect"
+ tabindex="-1"
+ data-notfound="<?= t('No results match:') ?>"
+ data-placeholder="<?= t('Display another project') ?>"
+ data-redirect-regex="PROJECT_ID"
+ data-redirect-url="<?= $this->url->href('board', 'show', array('project_id' => 'PROJECT_ID')) ?>">
<option value=""></option>
<?php foreach($board_selector as $board_id => $board_name): ?>
<option value="<?= $board_id ?>"><?= $this->e($board_name) ?></option>