diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-08-15 17:23:41 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-08-15 17:23:41 -0700 |
commit | 9eeded33f68872515954a2fc177fcb47a9273ae9 (patch) | |
tree | f3ef9507e087ca6bf3ce624232da240a8689b051 /assets | |
parent | c539bdc8ab746c5afd48cf87de057dc38d50adac (diff) |
Add email notifications
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/app.css | 4 | ||||
-rw-r--r-- | assets/js/app.js | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/assets/css/app.css b/assets/css/app.css index 3be402b6..fae922ab 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -265,6 +265,10 @@ input.form-date { line-height: 25px; } +.form-checkbox-group label { + display: inline; +} + /* alerts */ .alert { padding: 8px 35px 8px 14px; diff --git a/assets/js/app.js b/assets/js/app.js index bf98d689..78354dde 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -77,7 +77,8 @@ Kanboard.Board = (function() { connectWith: ".column", placeholder: "draggable-placeholder", stop: function(event, ui) { - board_save(); + var task_id = parseInt(ui.item[0].getAttribute("data-task-id")); + board_save(task_id); } }); @@ -112,7 +113,7 @@ Kanboard.Board = (function() { } // Save and refresh the board - function board_save() + function board_save(selected_task_id) { var data = []; var boardSelector = $("#board"); @@ -135,7 +136,7 @@ Kanboard.Board = (function() { $.ajax({ cache: false, url: "?controller=board&action=save&project_id=" + projectId, - data: {"positions": data, "csrf_token": boardSelector.attr("data-csrf-token")}, + data: {"positions": data, "csrf_token": boardSelector.attr("data-csrf-token"), "selected_task_id": selected_task_id}, type: "POST", success: function(data) { $("#board").remove(); |