Expose tags to the user interface (first prototype)
This commit is contained in:
4
assets/js/app.min.js
vendored
4
assets/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -35,6 +35,7 @@ Kanboard.App.prototype.execute = function() {
|
||||
this.keyboardShortcuts();
|
||||
this.datePicker();
|
||||
this.autoComplete();
|
||||
this.tagAutoComplete();
|
||||
};
|
||||
|
||||
Kanboard.App.prototype.keyboardShortcuts = function() {
|
||||
@@ -131,6 +132,12 @@ Kanboard.App.prototype.datePicker = function() {
|
||||
});
|
||||
};
|
||||
|
||||
Kanboard.App.prototype.tagAutoComplete = function() {
|
||||
$(".tag-autocomplete").select2({
|
||||
tags: true
|
||||
})
|
||||
};
|
||||
|
||||
Kanboard.App.prototype.autoComplete = function() {
|
||||
$(".autocomplete").each(function() {
|
||||
var input = $(this);
|
||||
|
||||
@@ -147,4 +147,5 @@ Kanboard.Popover.prototype.afterOpen = function() {
|
||||
|
||||
this.app.datePicker();
|
||||
this.app.autoComplete();
|
||||
this.app.tagAutoComplete();
|
||||
};
|
||||
|
||||
3
assets/js/vendor.min.js
vendored
3
assets/js/vendor.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user