diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-05-09 22:09:09 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-05-09 22:09:09 -0400 |
commit | 5d5ba443370df91d59812db5691fa846a9854837 (patch) | |
tree | 0849199fcdd743c359829e038d21f51df7e7307e /assets/js/src | |
parent | 0e019e8669090d4af1c325e49101d1dafcd7e690 (diff) |
Update task links, assignee and time tracking (#775), group links by label (#669)
Merge and modification of pull-request #785
Diffstat (limited to 'assets/js/src')
-rw-r--r-- | assets/js/src/base.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/assets/js/src/base.js b/assets/js/src/base.js index 9c884aea..9b1e1b7d 100644 --- a/assets/js/src/base.js +++ b/assets/js/src/base.js @@ -227,7 +227,10 @@ var Kanboard = (function() { // Task auto-completion if ($(".task-autocomplete").length) { - $(".task-autocomplete").parent().find("input[type=submit]").attr('disabled','disabled'); + + if ($('.opposite_task_id').val() == '') { + $(".task-autocomplete").parent().find("input[type=submit]").attr('disabled','disabled'); + } $(".task-autocomplete").autocomplete({ source: $(".task-autocomplete").data("search-url"), |