summaryrefslogtreecommitdiff
path: root/assets/js/src
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/src')
-rw-r--r--assets/js/src/App.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/assets/js/src/App.js b/assets/js/src/App.js
index ab8bd190..d4950fb3 100644
--- a/assets/js/src/App.js
+++ b/assets/js/src/App.js
@@ -31,7 +31,6 @@ Kanboard.App.prototype.execute = function() {
}
this.focus();
- this.chosen();
this.keyboardShortcuts();
this.datePicker();
this.autoComplete();
@@ -56,12 +55,6 @@ Kanboard.App.prototype.keyboardShortcuts = function() {
}
});
- // Open board selector
- Mousetrap.bind("b", function(e) {
- e.preventDefault();
- $('#board-selector').trigger('chosen:open');
- });
-
// Close popover and dropdown
Mousetrap.bindGlobal("esc", function() {
if (! document.getElementById('suggest-menu')) {
@@ -88,27 +81,6 @@ Kanboard.App.prototype.focus = function() {
});
};
-Kanboard.App.prototype.chosen = function() {
- $(".chosen-select").each(function() {
- var searchThreshold = $(this).data("search-threshold");
-
- if (searchThreshold === undefined) {
- searchThreshold = 10;
- }
-
- $(this).chosen({
- width: "180px",
- no_results_text: $(this).data("notfound"),
- disable_search_threshold: searchThreshold
- });
- });
-
- $(".select-auto-redirect").change(function() {
- var regex = new RegExp($(this).data('redirect-regex'), 'g');
- window.location = $(this).data('redirect-url').replace(regex, $(this).val());
- });
-};
-
Kanboard.App.prototype.datePicker = function() {
var bodyElement = $("body");
var dateFormat = bodyElement.data("js-date-format");