Add the possibility to create external tasks

This commit is contained in:
Frederic Guillot
2016-11-05 22:26:58 -04:00
parent ae5d31e4c2
commit 3f7840c4db
19 changed files with 269 additions and 35 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -9,6 +9,10 @@ Kanboard.Dropdown.prototype.listen = function() {
self.close();
});
$(document).on('click', '#popover-content', function() {
self.close();
});
$(document).on('click', '.dropdown-menu', function(e) {
e.preventDefault();
e.stopImmediatePropagation();

View File

@@ -137,7 +137,7 @@ Kanboard.Popover.prototype.afterOpen = function() {
});
// Autofocus fields (html5 autofocus works only with page onload)
$("[autofocus]").each(function() {
$("#popover-content input[autofocus]").each(function() {
$(this).focus();
});

View File

@@ -1,5 +1,10 @@
@import variables
h2
.dropdown
ul
display: none
.dropdown
display: inline
position: relative