summaryrefslogtreecommitdiff
path: root/assets/js/board.js
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-07-06 11:28:01 -0300
committerFrédéric Guillot <fred@kanboard.net>2014-07-06 11:28:01 -0300
commit0e118da124e6e6954f58b19e9aeb502d1adc048a (patch)
treeda12d056d02e0a740de84a2b82cf8c6d29bff818 /assets/js/board.js
parent7b96013a06d336e9d52c2f2fbeeaa4f5debe949e (diff)
Integration of the chosen jquery plugin for the board selector
Diffstat (limited to 'assets/js/board.js')
-rw-r--r--assets/js/board.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/assets/js/board.js b/assets/js/board.js
index 0487005d..170cbbe2 100644
--- a/assets/js/board.js
+++ b/assets/js/board.js
@@ -193,7 +193,9 @@
board_load_events();
filter_load_events();
- $("#form-board-selector").change(function() {
+ $("#board-selector").chosen();
+
+ $("#board-selector").change(function() {
window.location = "?controller=board&action=show&project_id=" + $(this).val();
});
});