Expose tags to the user interface (first prototype)
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user